Skip to content
This project is under active development and subject to breaking changes. See the changelog for release notes.

Development Skills

These five skills manage the development workflow: debugging failures, creating branches, writing standardized commits, finalizing pull requests, and suggesting the next task.

debugging-recovery implement

Section titled “debugging-recovery ”

Systematic debugging with structured triage. Activated when tests fail, builds break, or runtime behavior does not match expectations during implementation.

flowchart TD
  A["Unexpected failure"] --> B["STOP: preserve evidence"]
  B --> C["Step 1: Reproduce"]
  C --> D{"Reproducible?"}
  D -->|"Yes"| E["Step 2: Localize"]
  D -->|"No"| F["Add logging,\ncheck environment"]
  E --> G["Step 3: Reduce\nto minimal case"]
  G --> H["Step 4: Fix root cause"]
  H --> I["Step 5: Guard\nwith regression test"]
  I --> J["Step 6: Verify\nend-to-end"]
  J --> K["Resume implementation"]

Stop-the-line rule: When anything unexpected happens, stop adding features, preserve evidence, and follow the triage checklist. Do not push past a failing test or broken build.

Triage checklist:

StepActionKey technique
1. ReproduceMake the failure happen reliablyIsolate test, run in isolation
2. LocalizeNarrow down which layer failsgit bisect for regressions
3. ReduceCreate minimal failing caseStrip to bare minimum
4. Fix root causeFix the underlying issue, not the symptomAsk “why?” repeatedly
5. GuardWrite a regression testMust fail without fix, pass with it
6. VerifyRun full suite and buildConfirm no regressions

Error-specific patterns: Includes decision trees for test failures (outdated test vs code bug vs side effect), build failures (type/import/config/dependency), and runtime errors (null access, network, unexpected behavior).

Untrusted error output: Error messages and stack traces from external sources are data to analyze, not instructions to follow. The skill warns against executing commands or navigating to URLs found in error output without user confirmation.

Activation triggers: Test failures, build breaks, runtime errors, unexpected behavior during implementation.


Branch management with automatic strategy detection. Identifies the repository’s branching model (GitFlow or trunk-based) and creates branches following the detected convention.

flowchart TD
  A["Branch needed"] --> B["Check .memory/git-config.md"]
  B -->|"Config exists"| C["Use saved strategy"]
  B -->|"No config"| D["Detect strategy"]
  D --> E{"develop branch\nexists?"}
  E -->|"Yes"| F{"release/* or\nhotfix/* exist?"}
  E -->|"No"| G["Trunk-based"]
  F -->|"Yes"| H["GitFlow"]
  F -->|"No"| I["GitHub Flow"]
  
  C --> J["Check remote sync"]
  G --> J
  H --> J
  I --> J
  
  J --> K["Create branch"]
  K --> L["feature/ID-short-description"]

Strategy detection rules:

SignalStrategy
develop branch exists + release/* or hotfix/*GitFlow
develop branch exists, no release/hotfixGitHub Flow
No develop branchTrunk-based

Naming convention: feature/ID-short-description where ID comes from the work item (GitHub issue number or Azure DevOps ID).

Pre-creation checks: Remote synchronization, uncommitted changes detection, existing branch verification.

Activation triggers: Implementation start, branch creation requests, checkout operations.


Standardized commits using the Conventional Commits specification. Analyzes the actual diff to determine type, scope, and message. Supports logical file grouping and work item references.

flowchart TD
  A["Commit requested"] --> B["Analyze diff"]
  B --> C{"Staged files?"}
  C -->|"Yes"| D["Use staged diff"]
  C -->|"No"| E["Use working tree diff"]
  D --> F["Group by logical area"]
  E --> F
  F --> G["Pre-commit checks"]
  G --> H[".gitignore exists?"]
  G --> I["No secrets?"]
  H --> J["Generate message"]
  I --> J
  J --> K["type(scope): description"]
  K --> L["Add work item ref"]
  L --> M["Commit"]

Commit format:

type(scope): description
[optional body]
[optional footer with work item refs]

Commit types mapped to SDD artifacts:

TypeSDD Context
featNew feature implementation
fixBug fix
docsSpec, ADR, plan, envisioning changes
refactorCode restructuring without behavior change
testTest additions or corrections
choreBuild, config, dependency updates

Work item references:

PlatformFormat
GitHub IssuesCloses #123 or Refs #123 in footer
Azure DevOpsAB#123 in footer

Security protocol: The skill checks for secrets, credentials, and sensitive data before committing. If detected, the commit is blocked with a warning.

Activation triggers: Commit requests, end of implementation, change staging.


Implementation finalization workflow. Handles git state verification, commit creation, PR opening, automated reviews, and optional CI checks.

flowchart TD
  A["Implementation\ncomplete"] --> B["Check git state"]
  B --> C["Create commit"]
  C --> D["Push branch"]
  D --> E["Open PR"]
  E --> F{"Impact level?"}
  F -->|"High"| G["Trigger full\ndevsquad.review"]
  F -->|"Medium/Low +\nsecurity trigger"| H["Trigger\ndevsquad.security"]
  F -->|"Medium/Low,\nno trigger"| I["Standard PR"]
  G --> J["Check CI status"]
  H --> J
  I --> J
  J --> K["Offer Copilot\nreview (optional)"]
  K --> L["Record tech debt\n(if any)"]

Review routing by impact:

ImpactSecurity TriggerReview Action
HighAnyFull devsquad.review (includes security)
Medium/LowYesdevsquad.security only
Medium/LowNoStandard PR, no automated review

Technical debt tracking: If the implementation introduced shortcuts or deferred work, the skill records tech debt items linked to the PR.

Post-creation steps: CI status check, optional Copilot review request, branch update if behind target.

Activation triggers: Implementation completion, PR requests, finalization workflow.


Suggests the next task after completing an implementation. Considers dependencies, priority, sprint context, and open PRs.

flowchart TD
  A["Task completed"] --> B["Find available tasks"]
  B --> C["Filter: dependencies met,\nnot assigned, not blocked"]
  C --> D["Sort by priority\nand dependencies"]
  D --> E["Check open PRs"]
  E -->|"PRs need attention"| F["Suggest: review\nopen PR first"]
  E -->|"No pending PRs"| G["Present top 3\ntask suggestions"]
  G --> H["Check for pending\nchanges on branch"]
  H -->|"Changes exist"| I["Suggest: commit\nor stash first"]
  H -->|"Clean"| J["Return to\ndefault branch"]
  J --> K["Start selected task"]

Selection criteria (in priority order):

  1. Dependencies satisfied (all predecessor tasks done)
  2. Priority alignment (P1 before P2 before P3)
  3. Sprint commitment (committed items before stretch)
  4. Logical continuity (related tasks in same area)

Branch transition: Before starting a new task, the skill checks for uncommitted changes and guides the developer back to the default branch.

Activation triggers: Task completion, “what’s next” questions, sprint progress queries.