AgentSkillsCN

feature-loop-scheme

完整的功能开发工作流(由feature-new/feature-continue调用)

SKILL.md
--- frontmatter
name: "feature-loop-scheme"
description: "Full feature development workflow (called by feature-new/feature-continue)"

Prerequisites: Must be in a feature clone directory.

Process

Step 1: Gather Context

Use the explorer subagent to gather context about the codebase relevant to the feature:

  • Explore existing code patterns and architecture
  • Identify related files and components
  • Understand dependencies and integration points
  • Set thoroughness level to "medium" for balance between speed and depth

This context will inform the planning phase.

Step 2: Plan or Analyze

  • If plan.md doesn't exist → Create plan using planner subagent with opus model, ask questions if needed
  • If plan.md exists → Analyze current progress compared to origin/main, examine plan.md and documentation, identify next steps

Step 3: Create Task List

Create a structured task list based on the plan or next steps:

  • Break down into actionable tasks
  • Use the TaskCreate tool to create the task list
  • Each task should be specific and measurable
  • Mark the first task as "in_progress" to begin work

Step 4: Implement

  • Code, commit, push with coder-agent
  • If problems occur, fix, commit, push with debugger-agent

Step 5: Quality

Run quality skill to fix code style, types, and remove AI slop.

Step 6: Review

Use Task tool with subagent_type="reviewer-agent" for final code review and validation.

Step 7: Summary

Report findings and confirm ready for PR (or list remaining issues).