Receber por email
← Voltar para o catálogo

feature-dev

Feature development workflow with exploration, architecture, implementation, and review phases. Use for implementing new features or significant changes.

41estrelas
Atualizado há 5 meses

Ver no GitHub ↗ Licença: MIT

Como adicionar

/plugin marketplace add sequenzia/agent-alchemy

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/feature-dev-mptgjgyy/svg)](https://www.skillteca.com.br/skills/feature-dev-mptgjgyy)
#ai

Skills relacionadas

Ver todas de Desenvolvimento →

Alerta por categoria

Receba novas skills de Desenvolvimento toda segunda

1 email curto, só com as skills novas de Desenvolvimento. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa

Feature Development Workflow

Execute a structured 7-phase feature development workflow. This workflow guides you through understanding, exploring, designing, implementing, and reviewing a feature.

Phase Overview

Execute these phases in order, completing all of them:

  1. Discovery - Understand the feature requirements
  2. Codebase Exploration - Map relevant code areas
  3. Clarifying Questions - Resolve ambiguities
  4. Architecture Design - Design the implementation approach
  5. Implementation - Build the feature
  6. Quality Review - Review for issues
  7. Summary - Document accomplishments

Phase 1: Discovery

Goal: Understand what the user wants to build.

  1. Analyze the feature description from $ARGUMENTS:
  2. What is the core functionality?
  3. What are the expected inputs and outputs?
  4. Are there any constraints mentioned?
  5. What success criteria can you infer?
  1. Summarize your understanding to the user.

Prompt the user: Confirm whether your understanding is correct before proceeding.

Phase 2: Codebase Exploration

Goal: Understand the relevant parts of the codebase.

  1. Run deep-analysis workflow:
  2. Refer to the deep-analysis skill (from the core-tools package) for codebase exploration and synthesis.
  3. Pass the feature description from Phase 1 as the analysis context
  4. This handles reconnaissance, team planning, approval (auto-approved when skill-invoked), team creation, parallel exploration, and synthesis
  5. Deep-analysis may return cached results if a valid exploration cache exists. In skill-invoked mode, cache hits are auto-accepted.
  1. Present the synthesized analysis to the user.

Phase 3: Clarifying Questions

Goal: Resolve any ambiguities before designing.

  1. Review the feature requirements and exploration findings.
  1. Identify underspecified aspects:
  2. Edge cases not covered
  3. Technical decisions that could go multiple ways
  4. Integration points that need clarification
  5. Performance or scale requirements
  1. Ask clarifying questions:

Prompt the user to get answers for critical unknowns. Only ask questions that would significantly impact the implementation.

If no clarifying questions are needed, inform the user and proceed.

Phase 4: Architecture Design

Goal: Design the implementation approach.

  1. Load skills for this phase:
  2. Refer to the architecture-patterns skill for architectural pattern guidance
  3. Refer to the language-patterns skill (from the core-tools package) for language-specific patterns and conventions
  4. Refer to the technical-diagrams skill (from the core-tools package) for styling rules for any Mermaid diagrams in architecture proposals
  1. Delegate to independent architecture workers:

Delegate to 2-3 independent workers with different approaches: `` Worker 1: Design a minimal, focused approach prioritizing simplicity Worker 2: Design a flexible, extensible approach prioritizing future changes Worker 3: Design an approach optimized for the project's existing patterns (if applicable) ``

Each worker should receive: ``` Feature: [feature description] Design approach: [specific approach for this worker]

Based on the codebase exploration: [Summary of relevant files and patterns]

Design an implementation that:

  • Lists files to create/modify
  • Describes the changes needed in each file
  • Explains the data flow
  • Identifies risks and mitigations

Return a detailed implementation blueprint. ```

  1. Present approaches:
  2. Summarize each approach
  3. Compare trade-offs (simplicity, flexibility, performance, maintainability)
  4. Make a recommendation with justification
  1. User chooses approach:

Prompt the user to select an approach or request modifications.

  1. Generate ADR artifact:
  2. Use the ADR template below to create an Architecture Decision Record documenting:
  3. Context: Why this feature is needed
  4. Decision: The chosen approach
  5. Consequences: Trade-offs and implications
  6. Alternatives: Other approaches considered
  7. Determine the next ADR number by checking existing files in internal/docs/adr/
  8. Save to internal/docs/adr/NNNN-[feature-slug].md (create internal/docs/adr/ if needed)
  9. Inform the user of the saved ADR location

Phase 5: Implementation

Goal: Build the feature.

  1. Require explicit approval:

Ask the user: "Ready to begin implementation of [feature] using [chosen approach]?" Wait for confirmation before proceeding.

  1. Read all relevant files:

Before making any changes, read the complete content of every file you will modify.

  1. Implement the feature:
  2. Follow the chosen architecture design
  3. Match existing code patterns and conventions
  4. Create new files as needed
  5. Modify existing files as needed
  6. Add appropriate error handling
  7. Include inline comments only where logic is not obvious
  1. Test if applicable:
  2. If the project has tests, add tests for the new functionality
  3. Run existing tests to ensure nothing broke
  1. Proceed immediately to Phase 6.

Phase 6: Quality Review

Goal: Review the implementation for issues.

  1. Load skills for this phase:
  2. Refer to the code-quality skill for code quality principles and review guidance
  1. Delegate to independent review workers:

Delegate to 3 independent review workers with different focuses: `` Worker 1: Review for correctness and edge cases Worker 2: Review for security and error handling Worker 3: Review for maintainability and code quality ``

Each worker should receive: ``` Review focus: [specific focus for this worker]

Files to review: [List of files modified/created]

Review the implementation and report:

  • Issues found with confidence scores (0-100)
  • Suggestions for improvement
  • Positive observations

Only report issues with confidence >= 80. ```

  1. Aggregate findings:
  2. Collect results from all reviewers
  3. Deduplicate similar issues
  4. Prioritize by severity and confidence
  1. Present findings:

Show the user:

  • Critical issues (must fix)
  • Moderate issues (should fix)
  • Minor suggestions (nice to have)
  1. User decides:

Prompt the user:

  • "Fix all issues now"
  • "Fix critical issues only"
  • "Proceed without fixes"
  • "I'll fix manually later"
  1. If fixing: make the changes and re-review if needed.
  1. Proceed immediately to Phase 7.

Phase 7: Summary

Goal: Document and celebrate accomplishments.

  1. Summarize accomplishments:

Present to the user:

  • What was built
  • Key files created/modified
  • Architecture decisions made
  • Architecture diagram (Mermaid flowchart showing the implemented structure)
  • Any known limitations or future work
  1. Update CHANGELOG.md:
  2. Use the changelog entry template below
  3. Refer to the changelog-format skill for Keep a Changelog guidelines
  4. Create an entry under the [Unreleased] section with:
  5. Appropriate category (Added, Changed, Fixed, etc.)
  6. Concise description of the feature
  7. If CHANGELOG.md does not exist, create it with proper header
  8. Add the entry to the appropriate section under [Unreleased]
  9. Inform the user of the update
  1. Final message:

Congratulate the user and offer next steps:

  • Commit the changes
  • Create a PR
  • Additional testing suggestions

Error Handling

If any phase fails:

  1. Explain what went wrong
  2. Ask the user how to proceed:
  3. Retry the phase
  4. Skip to next phase
  5. Abort the workflow

Agent Coordination

Exploration and synthesis agent coordination is handled by the deep-analysis skill in Phase 2, which uses hub-and-spoke coordination. Deep-analysis performs reconnaissance, composes a team plan (auto-approve

Compartilhar X LinkedIn