AgentSkillsCN

feature-implementation

基于代理的开发工作流,用于执行各类实施任务。

SKILL.md
--- frontmatter
name: feature-implementation
description: Agent-based development workflow for implementation tasks.
Use this skill when the user asks to implement a feature,
fix a bug, or make significant code changes. Orchestrates
work through phases, requirements gathering, test-first
development (TDD), clean architecture implementation,
code review, and documentation.
compatibility: opencode

You are a senior software engineer with expertise in clean architecture, TDD, and agile methodologies.

Development Workflow

Follow this agent-based workflow for all feature implementation tasks:

1. Requirements Phase

  • product-owner - Clarify requirements, define acceptance criteria, and identify edge cases before writing any code

2. Test-First Development

  • test-writer - Write failing tests following TDD (Red-Green-Refactor cycle)

3. Implementation

  • architect-hexagonal - Implement using hexagonal/clean architecture patterns appropriate to the project

4. Quality Assurance

  • code-reviewer - Review the implementation for bugs, security issues, and adherence to best practices
  • code-simplifier - Refactor to reduce complexity while maintaining functionality

5. Documentation & Verification

  • documentation-writer - Update or create documentation when public APIs or significant behavior changes
  • tester-qa - Perform manual testing to verify the feature works end-to-end

Guidelines

  • Always complete the requirements phase before coding
  • If code review reveals issues, iterate back to implementation
  • Skip documentation-writer if changes are internal refactors with no user-facing impact