xiaohongshu
xiaohongshu
cui-maintain-requirements
Maintain and synchronize requirements and specifications with comprehensive validation
Full skill instructions
Systematic workflow for maintaining requirements and specification documents to ensure continued accuracy, traceability, and alignment with implementation.
If you discover issues or improvements during execution, record them:
Skill: plan-marshall:manage-lessons{type: "skill", name: "cui-maintain-requirements", bundle: "pm-requirements"}full - Complete requirements and specifications maintenance (default)requirements - Focus on requirements documents onlyspecifications - Focus on specification documents onlyreferences - Focus on cross-reference verification onlynew-feature - Adding documentation for new functionalitydeprecation - Handling deprecated or removed functionalityrefactoring - Updating after code refactoringMUST:
MUST NOT:
Pre-1.0 projects:
Post-1.0 projects - ASK USER:
Never remove post-1.0 requirements without user approval.
scope specified: Use specified scopescope: Default to full maintenancescenario specified: Tailor workflow accordinglySkill: pm-requirements:requirements-maintenance
Skill: pm-requirements:requirements-documentation
Skill: pm-requirements:specification-documentation
This loads comprehensive requirements standards including:
On load failure: Report error and abort.
2.1 Identify Documents:
Task:
subagent_type: Explore
model: sonnet
description: Locate requirements and specification documents
prompt: |
Locate all requirements and specification documents in project.
Search for:
- Requirements.adoc (typically in doc/)
- Specification documents (typically in doc/specifications/)
- Related documentation files
Return structured list with paths.
2.2 Load Maintenance Standards:
Verify standards loaded from skills, confirm understanding of:
[If scope = "requirements" OR scope = "full"]
3.1 Analyze Requirements State:
Task:
subagent_type: Explore
model: sonnet
description: Identify requirements maintenance needs
prompt: |
Analyze requirements documents for issues.
Apply detection criteria from pm-requirements:requirements-maintenance skill:
- Missing/incomplete requirements
- Outdated references
- Broken cross-references
- Inconsistent terminology
- Duplicate information
- Integrity violations (hallucinations, unverified references)
Return structured analysis by category with severity.
3.2 Update Requirements:
Apply requirements updates following patterns from pm-requirements:requirements-documentation skill.
Apply maintenance rules from pm-requirements:requirements-maintenance skill:
CRITICAL: Document only existing or approved functionality.
If scenario = "new-feature": Follow new-feature documentation pattern from requirements-documentation skill.
If scenario = "deprecation": Apply deprecation handling protocol (check version, ask user for post-1.0).
3.3 Verify Specification Alignment:
Verify requirements link to specifications correctly. Check:
[If scope = "specifications" OR scope = "full"]
4.1 Analyze Specifications:
Analyze specification documents for issues:
4.2 Update Specifications:
Update specifications following patterns from pm-requirements:specification-documentation skill.
Apply maintenance rules:
CRITICAL: Verify all code references exist.
If scenario = "refactoring": Update implementation references following refactoring patterns from requirements-maintenance skill.
[If scope = "references" OR scope = "full"]
5.1 Verify Document Links:
Verify all cross-references resolve correctly:
5.2 Validate Code References:
Validate all code references in documentation using Grep to verify:
CRITICAL: All code references must resolve to existing code.
6.1 Check for Hallucinations:
For each requirement and specification:
6.2 Eliminate Duplications:
Identify duplicate information across documents. For each duplication:
6.3 Final Link Verification:
Checklist:
Run comprehensive quality checklist:
If ANY check fails: Document failure, fix issue, re-run verification.
[If scenario parameter provided]
If scenario = "new-feature":
If scenario = "deprecation":
If scenario = "refactoring":
Review changes and create commit:
docs(requirements): [brief description of changes]
[Detailed description of maintenance performed]
- [Specific change 1]
- [Specific change 2]
- [Specific change 3]
Affected requirements: [list requirement IDs]
[Optional: Affected specifications: list spec IDs]
[Optional: Structural changes: describe]
Co-Authored-By: Claude <[email protected]>
Requirements Maintenance Summary
Scope: {scope parameter value}
Scenario: {scenario parameter value if provided}
Requirements Reviewed: {count}
Requirements Updated: {list of IDs}
New Requirements Added: {count if any}
Requirements Deprecated/Removed: {count if any}
Specifications Reviewed: {count}
Specifications Updated: {list}
Implementation References Corrected: {count}
Cross-References Fixed:
- Broken document links: {count}
- Broken code references: {count}
- New cross-references added: {count}
Integrity Checks:
- Hallucinations resolved: {count}
- Duplications removed: {count}
- Links verified: {total count}
Quality Verification: All checks passed
Commit Created: {commit hash}
Unverified Documentation Found:
Broken Links Cannot Be Fixed:
Conflicting Information:
# Complete maintenance
/cui-maintain-requirements scope=full
# Requirements only
/cui-maintain-requirements scope=requirements
# New feature documentation
/cui-maintain-requirements scope=full scenario=new-feature
# Handle deprecation (will ask user for post-1.0)
/cui-maintain-requirements scope=full scenario=deprecation
# After refactoring
/cui-maintain-requirements scope=specifications scenario=refactoring
pm-requirements:requirements-maintenance skill - Maintenance principlespm-requirements:requirements-documentation skill - Requirements patternspm-requirements:specification-documentation skill - Specification patternsxiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience