/adev:prototypefrom adev
Generates tiered UI prototypes (wireframe, mockup, functional) from an adev Feature Charter, serves them via localhost for browser preview, and supports conversational iteration with persist/discard.
Ships in adev. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Generate tiered prototypes (wireframe, mockup, functional) from a Feature Charter, serve them via localhost for browser preview, iterate on conversational feedback, and persist or discard the result.
Load Skill Extensions: Load any skill extension instructions before proceeding:
adev skill-ext load --skill prototype
If the output is not __NONE__, incorporate it as additional standing instructions that apply to this skill's entire execution. Frame it as: "The following skill extension instructions apply to this invocation (source: installed domain extensions and/or project-level overrides)." If the output is __NONE__, continue normally.
--module <name>: Module name. Locates charter at .context-index/specs/features/<name>/charter.md. Required when invoked standalone.--tier <wireframe|mockup|functional>: Pre-select tier (skips interactive prompt).--framework <react|vue|svelte|vanilla>: Pre-select framework for functional tier (skips interactive prompt).When invoked from /adev:brainstorm, the module name and approach context are passed automatically.
.context-index/ must exist with constitution.md. If missing, tell the user to run /adev:init first..context-index/specs/features/<module>/charter.md. If missing:
No charter found at
.context-index/specs/features/<module>/charter.md. Run/adev:brainstormfirst.
If brainstorm context is provided (a BRAINSTORM_CONTEXT block), skip Step 0 entirely and proceed directly to Step 1 with the provided context:
module is used directly — no charter discovery needed, no --module argument requiredapproach_summary is used to seed the initial prototype generation — it guides what the prototype demonstrates and what design direction to exploreplatform_context sets framework defaults for the functional tier (e.g., if platform context specifies React, pre-select React as the framework)constitution_constraints are used to validate generated prototype code against constitutional principlesWhen brainstorm context is present, skip the charter lookup in Step 0 entirely — the brainstorm already loaded the charter and extracted the relevant context.
Error handling: If brainstorm context is provided but missing required fields (module or approach_summary), report an error and stop. Error code: INCOMPLETE_CONTEXT.
Incomplete brainstorm context. Required: module, approach_summary. Received:
<fields>.
Applies only when invoked directly rather than from brainstorm.
Conditional loading: Read
<ADEV_ROOT>/skills/prototype/references/steps/step-0-standalone-entry.mdfor the full instructions. Do not act on this section from the summary above.
Loads the Feature Charter and prior prototype heuristics.
Conditional loading: Read
<ADEV_ROOT>/skills/prototype/references/steps/step-1-load-context.mdfor the full instructions. Do not act on this section from the summary above.
Chooses wireframe / mockup / functional.
Conditional loading: Read
<ADEV_ROOT>/skills/prototype/references/steps/step-2-tier-selection.mdfor the full instructions. Do not act on this section from the summary above.
Renders the tier-appropriate prototype files.
Conditional loading: Read
<ADEV_ROOT>/skills/prototype/references/steps/step-3-generate-files.mdfor the full instructions. Do not act on this section from the summary above.
Serves the prototype on localhost for review.
Conditional loading: Read
<ADEV_ROOT>/skills/prototype/references/steps/step-4-start-server.mdfor the full instructions. Do not act on this section from the summary above.
The conversational iteration rounds with the user.
Conditional loading: Read
<ADEV_ROOT>/skills/prototype/references/steps/step-5-feedback-loop.mdfor the full instructions. Do not act on this section from the summary above.
Captures screenshots of the running prototype.
Conditional loading: Read
<ADEV_ROOT>/skills/prototype/references/steps/step-5a-visual-reference-capture.mdfor the full instructions. Do not act on this section from the summary above.
Asks whether to persist under .adev/prototype/ or discard.
Conditional loading: Read
<ADEV_ROOT>/skills/prototype/references/steps/step-6-persistence-choice.mdfor the full instructions. Do not act on this section from the summary above.
The HTTP server MUST always be stopped when the session ends, regardless of keep/discard choice. No orphaned server processes.
Stop the server. The server is owned by the backgrounded adev prototype start-server process spawned in Step 4. Kill it with the recorded PID (e.g., kill $SERVER_PID) or let the parent skill session terminate, which will reap the child via SIGHUP.
Note: If the conversation ends mid-session (terminal closed, browser tab closed), the server process dies with the Claude Code session. Temp files are cleaned by the OS. This is an inherent limitation of skill-driven sessions, not a bug.
Records durable lessons from the prototype session.
Conditional loading: Read
<ADEV_ROOT>/skills/prototype/references/steps/step-8-heuristics-capture.mdfor the full instructions. Do not act on this section from the summary above.
This step runs only when the prototype was invoked from /adev:brainstorm (brainstorm context was provided). When invoked standalone, skip this step — the session ends at Step 9 (Session Summary).
Return control to /adev:brainstorm with a structured result:
PROTOTYPE_RESULT:
status: "completed" | "discarded"
tier: "wireframe" | "mockup" | "functional"
visual_references: tracker.toArray() # [{ path: string, description: string }]
heuristics_saved: <count>
persistence: "project" | "ephemeral"
Where:
status — "completed" if the user approved the prototype (chose "keep" or "done"), "discarded" if the user chose to discardtier — the prototype tier used during the sessionvisual_references — array of captured images with their slugified descriptions (may be empty if no images were captured)heuristics_saved — count of design decisions saved as heuristics via /adev:learn in Step 8persistence — "project" if files were kept at .adev/prototype/<module>/, "ephemeral" if temp files were removedAfter returning the result, the brainstorm skill handles presentation and continues to Step 4 (Present Design Sections).
Standalone-only closing summary.
Conditional loading: Read
<ADEV_ROOT>/skills/prototype/references/steps/step-9-session-summary.mdfor the full instructions. Do not act on this section from the summary above.
| Condition | Behavior | Code |
|---|---|---|
--module value fails validation | Error with format hint | INVALID_MODULE_NAME |
--module references non-existent charter | Error with path hint | CHARTER_NOT_FOUND |
No charters exist (no --module) | Error with /adev:brainstorm suggestion | NO_CHARTERS |
constitution.md missing | Error; block session | NO_CONSTITUTION |
platform-context.yaml missing | Warning; proceed without framework defaults | NO_PLATFORM_CONTEXT |
--framework without functional tier | Warning note; argument ignored | FRAMEWORK_IGNORED |
| Invalid tier (interactive) | Re-prompt with options | INVALID_TIER |
Invalid tier (CLI --tier) | Error, do not re-prompt | INVALID_TIER |
| Invalid framework (interactive) | Re-prompt with options | INVALID_FRAMEWORK |
Invalid framework (CLI --framework) | Error, do not re-prompt | INVALID_FRAMEWORK |
| All server ports fail (3210-3219) | Fall back to file-path mode | SERVER_PORT_EXHAUSTED |
| Server bind fails (EACCES) | Fall back to file-path mode | SERVER_PERMISSION_ERROR |
| File write fails (disk full, perms) | Error with normalized message | FILE_WRITE_ERROR |
.adev/ not writable (keep mode) | Error; suggest discard | PERSIST_WRITE_ERROR |
| Empty feedback | Re-prompt | EMPTY_FEEDBACK |
Never:
0.0.0.0 — always 127.0.0.1 onlyreferences/steps/step-0-standalone-entry.md (opens in a new tab)references/steps/step-1-load-context.md (opens in a new tab)references/steps/step-2-tier-selection.md (opens in a new tab)references/steps/step-3-generate-files.md (opens in a new tab)references/steps/step-4-start-server.md (opens in a new tab)references/steps/step-5-feedback-loop.md (opens in a new tab)references/steps/step-5a-visual-reference-capture.md (opens in a new tab)references/steps/step-6-persistence-choice.md (opens in a new tab)references/steps/step-8-heuristics-capture.md (opens in a new tab)references/steps/step-9-session-summary.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub agentic-development/adev-plugin --plugin adev31 skills in this plugin
/assessadev:assessAssess codebase readiness for agentic development. Scans the codebase using static file inspection and outputs maturity scores across 8 structural dimensions (raw mode) or 11 dimensions (adev mode). Use when you want to evaluate how well-suited a codebase is for AI-assisted development, identify improvement areas, or track progress over time./brainstormadev:brainstormExplore a feature idea interactively and produce a Feature Charter. Validates against constitution and existing charters. Use before building any new feature or module, when the user mentions a new capability, or says 'let us build X'./Other plugins' skills for the same job