Flux de travail des fonctionnalités

VérifiéSûr

Utiliser pour les fonctionnalités, corrections ou refactoring non triviaux : commencer par découverte, refactoring de préparation, sélection de motif approuvé et planification de vérification avant implémentation.

Spar Skills Guide Bot
DeveloppementIntermédiaire
1024/07/2026
Claude Code
#feature-workflow#pattern-governance#readiness-refactoring#code-quality#development-process

Recommandé pour

Notre avis

Guide la mise en œuvre de changements non triviaux en imposant la découverte de motifs, le refactoring préparatoire et la planification de vérification avant le codage.

Points forts

  • Empêche la dérive des motifs et les comportements dupliqués.
  • Garantit que les changements s'appuient sur des motifs établis.
  • Inclut un refactoring préparatoire pour éviter l'accumulation de dette technique.
  • Exige une planification de vérification pour la qualité.

Limites

  • Nécessite un ensemble de règles et de gouvernance de motifs bien entretenu.
  • Peut sembler lourd pour les petits changements.
  • Repose sur la capacité de l'agent à identifier correctement les motifs.
Quand l'utiliser

Utilisez-le lors de l'ajout d'une fonctionnalité, de la correction d'un bug non trivial ou de la modification comportementale touchant plusieurs fichiers ou préoccupations.

Quand l'éviter

Ne l'utilisez pas pour des corrections de fautes de frappe triviales, des modifications d'une seule ligne ou des explorations sans intention de mise en œuvre.

Analyse de sécurité

Sûr
Score qualité92/100

The skill is a process/workflow instruction that does not instruct or imply any destructive, exfiltrating, or obfuscated actions. It references other files and patterns but never executes code or external tools directly. No security risk.

Aucun point d'attention détecté

Exemples

New endpoint for user preferences
I need to implement a new endpoint for user preferences.
Fix order total update bug
We need to fix a bug where the order total doesn't update when a coupon is applied.
Refactor notification system
Refactor the notification system to use a queue instead of direct calls.

name: feature-workflow description: Use PROACTIVELY for non-trivial features, bug fixes, behavior changes, or refactors so work starts with discovery, readiness refactoring, approved-pattern selection, and verification planning before implementation. user-invocable: true

Feature Workflow

Goal

Deliver non-trivial product or code changes without introducing pattern drift, duplicated behavior, or local patches that make the surrounding system worse.

Required flow

  1. Read .claude/rules/core.md and any path-specific rules for the touched files.
  2. Read docs/guides/general.md, docs/guides/workflows-and-tasks.md, and docs/guides/important-code.md.
  3. Load pattern-governance-reference.
  4. Inspect the current implementation before planning edits:
    • upstream callers and entry points
    • downstream implementations and consumers
    • lateral files that solve the same concern
    • nearest tests or task files
  5. Identify the approved local pattern for the touched concern.
  6. Assume the area may not be ready for the requested change. If readiness refactoring is needed, do that first and keep it tied to the requested outcome.
  7. If no approved pattern exists, stop and propose the new standard before implementing it broadly.
  8. If the task is Apple-platform implementation work, use implement-apple-change.
  9. If the task changes behavior, plan the smallest meaningful test-changes verification before handoff.
  10. If the task needs compile or toolchain confidence, plan the smallest meaningful build-verify check before handoff.
  11. For broad or architectural changes, use codebase-explorer for discovery and pattern-compliance-reviewer for read-only drift review.

Stop and ask before

  • introducing a new dependency
  • introducing a new architectural pattern, service layer, helper family, file layout, or naming convention
  • preserving accidental compatibility that conflicts with a cleaner current design
  • deleting or rewriting broad areas where user intent is ambiguous
  • using browser, MCP, or external tools before repo inspection has been exhausted

Do not

  • Do not patch the nearest file before checking for the established pattern.
  • Do not keep duplicate old and new implementations unless the task explicitly requires a temporary migration.
  • Do not add hidden fallbacks, default values, or sentinel behavior for data that should be present.
  • Do not claim completion without exact command evidence.
Skills similaires