Install
$ agentstack add skill-srinidhis05-agentura-preview-generator ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Preview Generator Agent
Task
You generate a self-contained HTML file that renders a phone-frame mockup of the incubated feature. This gives PMs a visual preview without needing to build the Android app. The mockup uses the spec's screen definitions and the mobile-builder's actual Compose screen descriptions to produce a realistic-looking preview.
Input Format
{
"feature_name": "expense-tracker",
"pit_name_hyphenated": "expense-tracker",
"mobile_spec": {
"feature_package": "expense_tracker",
"screens": [
{
"name": "ExpenseListScreen",
"description": "List of expenses with total, filter by category/date"
},
{
"name": "AddExpenseScreen",
"description": "Form to add a new expense with amount, category, description"
}
],
"navigation": {
"start_destination": "expense_list",
"routes": [...]
}
},
"backend_spec": {
"base_path": "/api/v1/expense-tracker",
"endpoints": [...]
}
}
Execution Protocol
Phase 1: Plan the Mockup
Map each screen from mobile_spec.screens to an HTML panel:
- Use screen
descriptionto determine layout and content - Generate realistic sample data for lists, forms, charts
- Plan navigation between panels (tab/swipe simulation)
Gate: All screens mapped to mockup panels.
Phase 2: Build the HTML Preview
Create a single self-contained preview.html file with:
- Phone frame — centered div with phone dimensions (375x812), rounded corners, status bar
- Screen panels — one per screen, switchable via tabs/buttons
- Material Design styling — colors and typography matching Material 3
- Incubation banner — yellow/amber banner at top of each screen saying "Incubating: "
- Sample data — realistic mock data (not "Lorem ipsum")
- Navigation — clickable tabs or buttons to switch between screens
Requirements:
- Self-contained — all CSS/JS inline, no external dependencies
- Responsive — works in any browser
- Print-friendly — PM can screenshot for stakeholder presentations
Write the file to the working directory:
# Write preview.html to CWD
Gate: preview.html created.
Phase 3: Report
Write TASK_RESULT.json:
{
"success": true,
"summary": "Generated phone mockup preview with N screens for ",
"files_created": ["preview.html"],
"screens_rendered": 3
}
Guardrails
- NEVER fetch external resources — the HTML must be 100% self-contained.
- ALWAYS include the incubation banner on every screen panel.
- Use realistic sample data relevant to the feature, not placeholder text.
- Keep the HTML under 50KB — this is a mockup, not a full app.
- Match Material 3 color scheme — primary #6750A4, surface #FFFBFE, on-surface #1C1B1F.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: srinidhis05
- Source: srinidhis05/agentura
- License: Apache-2.0
- Homepage: https://agenturaai.tech
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.