ai-development-guide
Applies language-agnostic and backend technical decision criteria, anti-pattern detection, debugging, and quality gates. Use when reviewing general/backend…
Implementation strategy selection framework. Use when planning implementation strategy, selecting development approach, or defining verification criteria.
$ npx -y skills add shinpr/claude-code-workflows --skill implementation-approach --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/implementation-approachContext preview
The summary Claude sees to decide when to auto-load this skill.
Implementation strategy selection framework. Use when planning implementation strategy, selecting development approach, or defining verification criteria.
name: implementation-approach description: Implementation strategy selection framework. Use when planning implementation strategy, selecting development approach, or defining verification criteria.
**Core Question**: "What does the existing implementation look like?"
Architecture Analysis: Responsibility separation, data flow, dependencies, technical debt Implementation Quality Assessment: Code quality, behavior-relevant test evidence, performance, security Historical Context Understanding: Current form rationale, past decision validity, constraint changes, requirement evolution
Stop when another current-state fact cannot change responsibility, reuse, option validity, total complexity, a contract, or verification.
Complete these steps in order before selecting an implementation strategy:
1. **Existing-Surface Baseline**: Form the simplest end-to-end path that delivers the current outcome through existing responsibilities. Explicit requirements and accepted decisions are binding; suggested mechanisms remain candidates. 2. **Evidence Check**: Test that path against current requirements, verified constraints, observed in-scope problems, and evidence-backed material risks. Keep only the unmet conditions that can change the selected design. 3. **Targeted Comparison**: For each unmet condition, test reuse, derivation from existing data, on-demand computation, or responsibility at the current caller or boundary before adding design surface. Compare viable choices by total complexity across the dimensions that materially differ: user decisions, settings, modes, concepts, outputs, persistent state, implementation paths, UX, runtime, implementation, testing, documentation, and maintenance. Select the lowest-total-complexity choice that satisfies the condition. 4. **Subtraction Check**: Remove each proposed addition and re-test its governing condition. Retain it only when the confirmed outcome, a required boundary, or necessary proof becomes unmet.
Classify supporting claims as observed, inferred, or unknown. Route an unknown that blocks the next step as an exact evidence prerequisite; the caller's value-boundary and irreversible-action gates determine whether user interaction is required.
Candidate paths and rejected additions remain active analysis. The durable output is the **Selected Design**: the complete chosen path plus evidence for each added design surface and the condition that fails when it is removed. An accepted ADR may retain alternatives as decision history. An implementer uses the same convergence check without producing a separate artifact.
**Core Question**: "When determining before → after, what implementation patterns or strategies should be referenced?"
Direct Strategy: Smallest repository-supported change that satisfies the accepted requirements and constraints Repository Alternatives: Existing patterns that materially differ in migration, dependency order, or verification boundary External Research: Official/current sources only when repository evidence cannot resolve a time-sensitive capability, compatibility, or dependency decision
**Legacy Handling Strategies**:
**New Development Strategies**:
**Integration/Migration Strategies**:
Use these patterns only when their named migration or dependency problem exists. Start with the direct strategy. Compare an alternative when it would materially change risk, rollout, compatibility, or the early verification point. Keep the option set limited to patterns that produce one of those material differences.
**Core Question**: "What risks arise when applying this to existing implementation, and what's the best way to control them?"
Evaluate only risk categories for which current evidence can change the strategy, public contract, rollout, rollback, or verification boundary.
Technical Risks: System impact, data consistency, performance degradation, integration complexity Operational Risks: Service availability, deployment downtime, process changes, rollback procedures Project Risks: Schedule delays, learning costs, quality achievement, team coordination
Preventive Measures: Phased migration, parallel operation verification, integration/regression tests, monitoring setup Incident Response: Rollback procedures, log/metrics preparation, communication system, service continuation procedures
**Core Question**: "What are this project's constraints?"
Check only constraints evidenced by the governing requirements, repository, external contracts, or current environment that can change the selected strategy
Claude Code can explore a codebase deeply. On non-trivial work, the harder problem is convergence.
Repo: shinpr/claude-code-workflows
Applies language-agnostic and backend technical decision criteria, anti-pattern detection, debugging, and quality gates. Use when reviewing general/backend…
Language-agnostic coding principles for maintainability, readability, and quality. Use when implementing features, refactoring code, or reviewing code quality.
Determines which of PRD, ADR, UI Spec, Design Doc, and Work Plan a change requires, and where each is stored. Use when deciding documentation scope, or when…
Records where resources outside the repository live (design source, design system, API schema, IaC source, secret store) and how design, implementation, and…
Applies React/TypeScript-specific technical decision criteria, anti-pattern detection, debugging, and frontend quality gates. Use when reviewing components,…
Integration and E2E test design principles, ROI calculation, test skeleton specification, and review criteria. Use when designing integration tests, E2E tests,…