Update requirements and cascade changes to specs and plans. Accepts natural language change descriptions to modify the full spec chain. Use when user wants to add, remove, or modify requirements.
Part of the spec-manager agent. This skill updates requirements and cascades changes through specs and plans.
The user provides a change description as arguments: $ARGUMENTS
The change description is a natural language instruction describing what to add, remove, or modify in the requirements.
Examples:
/update-requirements Third requirements should be removed/update-requirements Add new requirements. API docs should be updated./update-requirements Change FR-2 acceptance criteria to include error handling/update-requirements Performance requirement should be <200ms instead of <500msIf no arguments are provided, ask the user what changes they want to make.
*/requirements.md files in specs/ directoryspecs/{slug}/requirements.md (always exists)specs/{slug}/specs.md (only for Pipeline: full; absent for lite)specs/{slug}/plans.md (always exists)Read the Pipeline: header field from requirements.md:
Pipeline: full (or missing — treat missing as full): cascade through specs.md and plans.md as usual (Steps 4 + 5).Pipeline: lite: skip Step 4 entirely (no specs.md exists). Cascade only to plans.md (Step 5), and treat the plan structure as the lite layout (steps reference FR-X, not TS-X).The mode determines which downstream files are touched. Mention the active mode in the Step 2 understood-changes summary so the user can confirm.
Parse the user's natural language instruction to determine:
Present a brief summary of understood changes to confirm with the user before applying:
Understood changes:
- [Add/Remove/Modify]: {description}
- Affected sections: {list}
- Impact: {brief impact assessment}
Proceed with these changes?
Apply changes to specs/{slug}/requirements.md:
> Updated: {YYYY-MM-DD} (or update existing)Skip this step entirely if Step 1.5 detected Pipeline: lite (no specs.md exists). Report it as N/A (lite pipeline) in Step 6.
Read current specs/{slug}/specs.md and apply cascading changes:
If specs were already generated (status is not "Pending"):
| N | Requirement update: {brief description} | Applied via /update-requirements | {date} |
> Updated: {YYYY-MM-DD}If specs are still "Pending": Update status to note requirements have changed, no further action needed
Read current specs/{slug}/plans.md and apply cascading changes. The step references in plans differ by pipeline:
Pipeline: full → plan steps reference TS-XPipeline: lite → plan steps reference FR-X directly (no specs.md to bridge through)In both cases, treat the cascade as below.
If plans were already generated (status is not "Pending"):
> Updated: {YYYY-MM-DD}If plans are still "Pending": Update status to note specs have changed, no further action needed
Display a summary of all changes made:
Requirements updated for: "{Original Task Title}"
Pipeline: {lite | full}
Changes applied:
Requirements (specs/{slug}/requirements.md):
- {change description}
Specs (specs/{slug}/specs.md):
- {change description, "No changes needed (still pending)", or "N/A (lite pipeline)"}
Plans (specs/{slug}/plans.md):
- {change description, or "No changes needed (still pending)"}
Change impact:
- {N} requirements affected
- {X} specs updated
- {Y} plan steps updated
If the requested change conflicts with existing requirements:
If some plan steps are already marked as "Completed":
Warning: Step {N} was already completed but is affected by this change.
The implementation may need to be revised. Please review.
If the change description is ambiguous:
specs.md)Pipeline: header: skip specs cascade for lite, run full cascade for full/missingnpx skills add datamaker-kr/update-requirements下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer