modelscope.cn

requirement-workflow

State-machine driven orchestrator for structured software development.

Installation

$ npx skills add https://modelscope.cn

Summary

  • State-machine driven orchestrator for structured software development.
  • Use when user wants to build a feature, fix a bug, implement something substantial, refactor code, or develop new functionality.
  • Triggers on: '开发功能', '实现这个', 'build this feature', 'implement', 'add new module'.
  • Creates workflow in .trae/workflow/ with stages: ANALYZING → PLANNING → DESIGNING → IMPLEMENTING → TESTING → DELIVERING.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from modelscope.cn · top by installs.

npx skills add https://modelscope.cn

Browse all from modelscope.cn

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 3,217 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

Requirement Workflow Orchestrator

State-machine driven development workflow with agent/skill injection support.

Execution Flow

1. ANALYZE & SELECT LEVEL → Run init-workflow.sh
2. STAGE LOOP → Run advance-stage.sh for each stage
3. CREATE DOCUMENTS → spec.md → tasks.md → design.md → checklist.md → report.md

Step 1: Analyze & Select Level

Level Condition Doc Depth
L1 ≤3 files, quick fix Brief + simple
L2 4-15 files, standard feature Full PRD + design
L3 Security/cross-module/breaking Comprehensive

Step 2: Initialize Workflow

{skill_root}/scripts/init-workflow.sh -r <project_root> -n <name> -t <type> -l <level>

Types: feature, bugfix, refactor, hotfix

Step 3: Execute Stage Loop

For EACH stage:

A. Run: {skill_root}/scripts/advance-stage.sh -r <project_root>
B. Check for injected agents (pre_stage/post_stage)
C. Create stage document
D. Repeat until status = DONE

Stage Documents

Stage Document Content
ANALYZING spec.md Requirements, scope
PLANNING tasks.md Task breakdown
DESIGNING design.md Technical design
IMPLEMENTING Code Implementation
TESTING checklist.md Test checklist
DELIVERING report.md Summary report

Scripts

Script Purpose
init-workflow.sh Initialize workflow
advance-stage.sh Advance to next stage
get-status.sh Check current status
inject-agent.sh Add agent injection
generate-report.sh Generate final report

Example

User: "Add user authentication feature"

$ {skill_root}/scripts/init-workflow.sh -r /project -n "user-auth" -t feature -l L2
✅ Created: .trae/workflow/20240115_001_feature_user-auth/

$ {skill_root}/scripts/advance-stage.sh -r /project
✅ Transitioned to ANALYZING
🤖 Injected: risk-auditor (pre_stage)

[Create spec.md...]

$ {skill_root}/scripts/advance-stage.sh -r /project
✅ Transitioned to PLANNING
...

References

  • [L1 Workflow](references/WORKFLOW_L1.md) - Quick workflow
  • [L2 Workflow](references/WORKFLOW_L2.md) - Standard workflow
  • [L3 Workflow](references/WORKFLOW_L3.md) - Complex workflow
  • [Injection Guide](references/INJECTION_GUIDE.md) - Agent/Skill injection
  • [Agents Index](agents/AGENTS.md) - All available agents