用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/LerianStudio/ring-for-opencode --skill ringpre-dev-full命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | ring:pre-dev-full |
| description | Complete 9-gate pre-dev workflow for large features (≥2 days) |
| license | MIT |
| compatibility | opencode |
| metadata | {} |
| argument-hint | [feature-name] |
I'm running the Full Track pre-development workflow (9 gates) for your feature.
This track is for features that have ANY of:
If feature is simple (<2 days, existing patterns), use /ring:pre-dev-feature instead.
All artifacts will be saved to: docs/pre-dev/<feature-name>/
First, let me ask you about your feature:
Use the AskUserQuestion tool to gather:
Question 1: "What is the name of your feature?"
Question 2 (CONDITIONAL): "Does this feature require authentication or authorization?"
go.mod contains github.com/LerianStudio/lib-auth
golang.md → Access Manager Integration section during TRD creation (Gate 3) and Dependency Map (Gate 6)Question 3 (CONDITIONAL): "Is this a licensed product/plugin?"
go.mod contains github.com/LerianStudio/lib-license-go
golang.md → License Manager Integration section during TRD creation (Gate 3) and Dependency Map (Gate 6)Why auto-detection? Access Manager and License Manager are project-level infrastructure decisions, not feature-level. Once integrated, all features in the project inherit them.
After getting the feature name (and auth/license requirements if applicable), create the directory structure and run the 9-gate workflow:
mkdir -p docs/pre-dev/<feature-name>
Skill: ring:pre-dev-research
Determine research mode by asking user or inferring from context:
Dispatch 3 research agents in PARALLEL:
Aggregate findings into research document
Save to: docs/pre-dev/<feature-name>/research.md
Run Gate 0 validation checklist
Get human approval before proceeding
Gate 0 Pass Criteria:
Skill: ring:pre-dev-prd-creation
docs/pre-dev/<feature-name>/prd.mdGate 1 Pass Criteria:
Skill: ring:pre-dev-feature-map
docs/pre-dev/<feature-name>/prd.mddocs/pre-dev/<feature-name>/feature-map.mdGate 2 Pass Criteria:
Skill: ring:pre-dev-trd-creation
docs/pre-dev/<feature-name>/prd.mddocs/pre-dev/<feature-name>/feature-map.mddocs/pre-dev/<feature-name>/trd.mdGate 3 Pass Criteria:
Skill: ring:pre-dev-api-design
docs/pre-dev/<feature-name>/api-design.mdGate 4 Pass Criteria:
Skill: ring:pre-dev-data-model
docs/pre-dev/<feature-name>/data-model.mdGate 5 Pass Criteria:
Skill: ring:pre-dev-dependency-map
docs/pre-dev/<feature-name>/dependency-map.mdGate 6 Pass Criteria:
Skill: ring:pre-dev-task-breakdown
docs/pre-dev/<feature-name>/tasks.mdGate 7 Pass Criteria:
Skill: ring:pre-dev-subtask-creation
docs/pre-dev/<feature-name>/tasks.mddocs/pre-dev/<feature-name>/subtasks.mdGate 8 Pass Criteria:
Report to human:
✅ Full Track (9 gates) complete for <feature-name>
Artifacts created:
- docs/pre-dev/<feature-name>/research.md (Gate 0) ← NEW
- docs/pre-dev/<feature-name>/prd.md (Gate 1)
- docs/pre-dev/<feature-name>/feature-map.md (Gate 2)
- docs/pre-dev/<feature-name>/trd.md (Gate 3)
- docs/pre-dev/<feature-name>/api-design.md (Gate 4)
- docs/pre-dev/<feature-name>/data-model.md (Gate 5)
- docs/pre-dev/<feature-name>/dependency-map.md (Gate 6)
- docs/pre-dev/<feature-name>/tasks.md (Gate 7)
- docs/pre-dev/<feature-name>/subtasks.md (Gate 8)
Planning time: 2-4 hours (comprehensive)
Next steps:
1. Review artifacts in docs/pre-dev/<feature-name>/
2. Use /ring:worktree to create isolated workspace
3. Use /ring:write-plan to create implementation plan
4. Execute the plan
docs/pre-dev/<feature-name>/This command orchestrates multiple skills in a 9-gate workflow.
| Gate | Skill | Purpose |
|---|---|---|
| 0 | ring:pre-dev-research | Domain/technical research |
| 1 | ring:pre-dev-prd-creation | Product requirements |
| 2 | ring:pre-dev-feature-map | Feature scope |
| 3 | ring:pre-dev-trd-creation | Technical requirements |
| 4 | ring:pre-dev-api-design | API contracts |
| 5 | ring:pre-dev-data-model | Data architecture |
| 6 | ring:pre-dev-dependency-map | Technology selection |
| 7 | ring:pre-dev-task-breakdown | Task decomposition |
| 8 | ring:pre-dev-subtask-creation | Implementation steps |
For each gate:
Use Skill tool: [gate-skill]
Wait for human approval
Proceed to next gate
Each skill contains its own:
Do NOT skip gates. Each gate builds on the previous gate's output.