AgentSkillsCN

ring:using-pm-team

10项开发前工作流程技能,加上3个研究代理,按照小规模轨道(4道关口,<2天)与大规模轨道(9道关口,>2天)进行组织,以研究为先的系统化功能规划方法。

SKILL.md
--- frontmatter
name: ring:using-pm-team
description: |
  10 pre-dev workflow skills + 3 research agents organized into Small Track (4 gates, <2 days) and
  Large Track (9 gates, 2+ days) for systematic feature planning with research-first approach.

trigger: |
  - Starting any feature implementation
  - Need systematic planning before coding
  - User requests "plan a feature"

skip_when: |
  - Quick exploratory work → ring:brainstorming may suffice
  - Bug fix with known solution → direct implementation
  - Trivial change (<1 hour) → skip formal planning

Using Ring Team-Product: Pre-Dev Workflow

The ring-pm-team plugin provides 10 pre-development planning skills and 3 research agents. Use them via Skill tool: "ring:gate-name" or via slash commands.

Remember: Follow the ORCHESTRATOR principle from ring:using-ring. Dispatch pre-dev workflow to handle planning; plan thoroughly before coding.

Pre-Dev Philosophy

Before you code, you plan. Every time.

Pre-dev workflow ensures:

  • ✅ Requirements are clear (WHAT/WHY)
  • ✅ Architecture is sound (HOW)
  • ✅ APIs are contracts (boundaries)
  • ✅ Data models are explicit (entities)
  • ✅ Dependencies are known (tech choices)
  • ✅ Tasks are atomic (2-5 min each)
  • ✅ Implementation is execution, not design

Two Tracks: Choose Your Path

Small Track (4 Gates) – <2 Day Features

Use when ALL criteria met:

  • ✅ Implementation <2 days
  • ✅ No new external dependencies
  • ✅ No new data models
  • ✅ No multi-service integration
  • ✅ Uses existing architecture
  • ✅ Single developer
GateSkillOutput
0ring:pre-dev-researchresearch.md
1ring:pre-dev-prd-creationPRD.md
2ring:pre-dev-trd-creationTRD.md
3ring:pre-dev-task-breakdowntasks.md

Planning time: 45-75 minutes

Large Track (9 Gates) – ≥2 Day Features

Use when ANY criteria met:

  • ❌ Implementation ≥2 days
  • ❌ New external dependencies
  • ❌ New data models/entities
  • ❌ Multi-service integration
  • ❌ New architecture patterns
  • ❌ Team collaboration needed
GateSkillOutput
0ring:pre-dev-researchresearch.md
1ring:pre-dev-prd-creationPRD.md
2ring:pre-dev-feature-mapfeature-map.md
3ring:pre-dev-trd-creationTRD.md
4ring:pre-dev-api-designAPI.md
5ring:pre-dev-data-modeldata-model.md
6ring:pre-dev-dependency-mapdependencies.md
7ring:pre-dev-task-breakdowntasks.md
8ring:pre-dev-subtask-creationsubtasks/

Planning time: 2.5-4.5 hours

Gate Summaries

GateSkillWhat It Does
0ring:pre-dev-researchParallel research: codebase patterns, best practices, framework docs
1ring:pre-dev-prd-creationBusiness requirements (WHAT/WHY), user stories, success metrics
2ring:pre-dev-feature-mapFeature relationships, dependencies, deployment order (Large only)
3ring:pre-dev-trd-creationTechnical architecture, technology-agnostic patterns
4ring:pre-dev-api-designAPI contracts, operations, error handling (Large only)
5ring:pre-dev-data-modelEntities, relationships, ownership (Large only)
6ring:pre-dev-dependency-mapExplicit tech choices, versions, licenses (Large only)
7ring:pre-dev-task-breakdownValue-driven tasks with success criteria
8ring:pre-dev-subtask-creationZero-context 2-5 min implementation steps (Large only)

Research Agents (Gate 0)

AgentFocus
ring:repo-research-analystCodebase patterns, docs/solutions/ knowledge base
ring:best-practices-researcherWeb search, Context7 for best practices
ring:framework-docs-researcherTech stack versions, official patterns

Research Modes:

  • greenfield: Web research primary (new capability)
  • modification: Codebase research primary (extending existing)
  • integration: All agents equally weighted (connecting systems)

Using Pre-Dev Workflow

Via Slash Commands

code
/ring:pre-dev-feature logout-button    # Small track (4 gates)
/ring:pre-dev-full payment-system      # Large track (9 gates)

Via Skills (Manual)

code
Skill tool: "ring:pre-dev-prd-creation"
(Review output)
Skill tool: "ring:pre-dev-trd-creation"
(Review output)

Output Structure

code
docs/pre-dev/{feature}/
├── research.md        # Gate 0
├── prd.md             # Gate 1
├── feature-map.md     # Gate 2 (large only)
├── trd.md             # Gate 3
├── api-design.md      # Gate 4 (large only)
├── data-model.md      # Gate 5 (large only)
├── dependency-map.md  # Gate 6 (large only)
├── tasks.md           # Gate 7
└── subtasks/          # Gate 8 (large only)

Decision: Small or Large Track?

When in doubt: Use Large Track. Better to over-plan than discover mid-implementation that feature is larger.

You can switch: If Small Track feature grows, pause and complete Large Track gates.

Integration with Other Plugins

PluginUse For
ring:using-ring (default)ORCHESTRATOR principle for ALL tasks
ring:using-dev-teamDeveloper specialists for reviewing designs
ring:using-finops-teamRegulatory compliance planning
ring:using-tw-teamDocumentation for features

Combined with:

  • ring:execute-plan – Run tasks in batches
  • ring:write-plan – Generate plan from scratch
  • *-engineer – Specialist review of design
  • ring:requesting-code-review – Post-implementation review

ORCHESTRATOR Principle

  • You're the orchestrator – Dispatch pre-dev skills, don't plan manually
  • Don't skip gates – Each gate adds clarity
  • Don't code without planning – Plan first, code second
  • Use agents for specialist review – Dispatch engineers to review TRD

Good (ORCHESTRATOR):

"I need to plan payment system. Let me run /ring:pre-dev-full, then dispatch ring:backend-engineer-golang to review the architecture."

Bad (OPERATOR):

"I'll start coding and plan as I go."