一键导入
implement-user-story
Implements a single user story from the PRD: writes code and tests, follows project conventions. Invoked by: nvst create prototype.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Implements a single user story from the PRD: writes code and tests, follows project conventions. Invoked by: nvst create prototype.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | implement-user-story |
| description | Implements a single user story from the PRD: writes code and tests, follows project conventions. Invoked by: nvst create prototype. |
| user-invocable | false |
Implement the provided user story by writing production code and tests that satisfy all acceptance criteria, following the project's conventions and architecture.
| Source | Used for |
|---|---|
user_story (context variable) | The user story JSON with id, title, description, and acceptanceCriteria |
project_context (context variable) | Project conventions, tech stack, code standards, testing strategy, and architecture |
iteration (context variable) | Current iteration number for file naming and context |
Before implementation, detect whether this is a UI task.
UI, interface, page, component, visual, button, form, layout, style, or frontend.frontend-design — set design direction and aesthetics.harden — handle UI edge cases and resilience.polish — run a final quality and refinement pass..agents/state.json or progress files — the calling command manages those.The output is the set of file changes (new files created, existing files modified) in the working tree. There is no document to produce — the code and tests are the deliverable.
Before finishing:
Drive interactive approval of the prototype by updating project context and roadmap artifacts after a completed iteration.
Validate the current iteration's PRD against the implemented code via the audit prototype skill.
Gathers the requirement from the user and produces it_{iteration}_product-requirement-document.md. Triggered by: nvst define requirement.
Creates or updates .agents/PROJECT_CONTEXT.md with project conventions, tech stack, code standards, testing strategy, and product architecture. Triggered by: nvst create project-context.
Load the refactor plan from it_{iteration}_audit.json and invoke the agent to apply code changes.
Updates an existing product requirement document based on user feedback. Triggered by: nvst refine requirement.