بنقرة واحدة
audit-prototype
Validate the current iteration's PRD against the implemented code via the audit prototype skill.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Validate the current iteration's PRD against the implemented code via the audit prototype skill.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Drive interactive approval of the prototype by updating project context and roadmap artifacts after a completed iteration.
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.
Implements a single user story from the PRD: writes code and tests, follows project conventions. Invoked by: nvst create prototype.
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.
| name | audit-prototype |
| description | Validate the current iteration's PRD against the implemented code via the audit prototype skill. |
| user-invocable | false |
Validate the product requirement document (PRD) for the current iteration against the implemented code.
.agents/flow/..agents/flow/it_{iteration}_PRD.json — PRD (user stories, acceptance criteria, functional requirements).agents/flow/it_{iteration}_progress.json — implementation progressIf any audited user story or functional requirement involves UI or frontend work, apply these Impeccable skills during the audit:
audit — evaluate accessibility, interface performance, theming consistency, and responsive behavior.critique — perform UX design evaluation (flows, clarity, hierarchy, and usability).optimize — identify interface performance optimizations for rendering, interactions, and runtime behavior.Integrate resulting UI findings into the compliance report by either:
For each use case / user story and its acceptance criteria (and any referenced functional requirements), validate that the codebase satisfies the PRD. Report any gaps or non-compliance.
Produce a compliance report with the following fixed structure so the user receives a consistent summary and per-FR / per-US verification. Write the report as JSON to:
.agents/flow/it_{iteration}_compliance-report.json
The report must include exactly these sections:
{ "frId": "<id>", "assessment": "<value>" } for each functional requirement. Assessment must be one of: "comply", "partially_comply", "does_not_comply" (or in Spanish: cumple / parcialmente cumple / no cumple — use English keys in JSON).{ "usId": "<id>", "assessment": "<value>" } for each user story. Assessment must be one of: "comply", "partially_comply", "does_not_comply".Each FR and US from the PRD must be explicitly assessed with one of: comply / partially comply / does not comply (English), or cumple / parcialmente cumple / no cumple if the surrounding document is in Spanish. In the JSON file use the English enum values: "comply", "partially_comply", "does_not_comply".
After presenting the compliance report to the user, ask them to choose one of:
If the user chooses (b), ask what they want to change, then update the recommendations accordingly (e.g. revise the conclusions and recommendations text or the refactor plan) before continuing.
Use the chosen outcome to drive which artifacts you produce:
.agents/flow/it_{iteration}_audit.md with the mandatory structure below..agents/flow/it_{iteration}_audit.json (e.g. via nvst write-json if a schema exists, or a structured JSON consistent with the audit content)..agents/TECHNICAL_DEBT.md (or the project's designated technical-debt file) with those items. Run the NVST command so the file is updated by the toolkit: nvst write-technical-debt --data '<json>' (or pipe JSON via stdin). The payload must be { "iteration": "<current_iteration>", "items": [ { "title": "<short title>", "description": "<optional description>" }, ... ] }. Use --out <path> only if the project uses a different technical-debt file path. Updates are additive; existing debt entries are preserved.The file must be written to .agents/flow/it_{iteration}_audit.md and must contain exactly these sections (in this order), reflecting the final recommendations (including any user-requested changes):