global/skills/implement-all-levels/SKILL.md
Enforce complete implementation of all tiers/difficulty levels for tiered features. Prevents partial implementations.
npx skillsauth add kcenon/claude-config implement-all-levelsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Enforce complete implementation of all tiers/difficulty levels for tiered features.
/implement-all-levels <feature-description>
Examples:
/implement-all-levels "Add difficulty-based scoring system"
/implement-all-levels "Implement authentication with basic/advanced modes"
/implement-all-levels "Create tiered caching strategy"
/implement-all-levels "Add scoring system" --solo # Force solo mode
/implement-all-levels "Add scoring system" --team # Force team mode
This command enforces an "enumerate-first" workflow to ensure complete coverage of all implementation tiers. It prevents the common pattern of implementing only the Easy tier while neglecting Medium/Hard levels.
--solo or --team flag was providedExtract the flag from $ARGUMENTS (strip it before passing to Step 1).
Use $EXEC_MODE directly.
Auto-recommend based on tier count and complexity:
| Signal | Solo (Recommended) | Team (Recommended) | |--------|-------------------|-------------------| | Tiers | 2 | 3+ | | Per-tier complexity | Low (< 100 LOC each) | High (100+ LOC each) | | Cross-tier dependencies | Minimal | Significant |
Use AskUserQuestion to present the choice:
Store the result in $EXEC_MODE (solo | team).
$EXEC_MODE == "solo" → Execute Solo Mode (Steps 1-5 below, unchanged)$EXEC_MODE == "team" → Execute Team Mode Instructions (after Solo Mode)Before writing any code, list ALL implementation tiers:
## Implementation Tiers for: [Feature Description]
| Tier | Description | Status |
|------|-------------|--------|
| Easy | [Basic functionality] | Pending |
| Medium | [Enhanced features] | Pending |
| Hard | [Advanced capabilities] | Pending |
Rules:
Present the tier list and ask for confirmation:
I've identified the following implementation tiers:
1. **Easy**: [description]
2. **Medium**: [description]
3. **Hard**: [description]
Do you want to proceed with implementing all tiers? (yes/no)
Do NOT proceed until user confirms.
Implement tiers in order (Easy -> Medium -> Hard):
## Progress Tracking
| Tier | Status | Notes |
|------|--------|-------|
| Easy | Completed | Implemented basic scoring |
| Medium | In Progress | Adding multipliers |
| Hard | Pending | Combo system pending |
Status Indicators:
After implementing each tier, run relevant tests:
# Example test commands
pytest tests/test_scoring.py -k "easy"
pytest tests/test_scoring.py -k "medium"
pytest tests/test_scoring.py -k "hard"
Requirements:
Generate completion report:
## Implementation Complete
### Summary
- **Feature**: [Feature Description]
- **Total Tiers**: 3
- **Completed**: 3/3 (100%)
### Tier Details
#### Easy Tier
- Files modified: `src/scoring/basic.py`
- Tests: `tests/test_scoring.py::test_easy_*` (5 passed)
#### Medium Tier
- Files modified: `src/scoring/multipliers.py`
- Tests: `tests/test_scoring.py::test_medium_*` (8 passed)
#### Hard Tier
- Files modified: `src/scoring/combos.py`
- Tests: `tests/test_scoring.py::test_hard_*` (12 passed)
### Total Test Coverage
- 25 tests passed
- 0 tests failed
- 0 tests skipped
The following are NOT ALLOWED:
# BAD: Only Easy implemented
def get_score(difficulty: str) -> int:
if difficulty == "easy":
return calculate_easy()
else:
raise NotImplementedError() # Forbidden
# BAD: TODO instead of implementation
def calculate_medium():
# TODO: Implement medium difficulty # Forbidden
pass
# BAD: Empty or placeholder return
def calculate_hard():
return 0 # Placeholder value
return None # Placeholder value
return {} # Empty placeholder
# BAD: No tests for tier
def calculate_hard():
return complex_calculation() # No corresponding test
All implementations MUST follow:
# GOOD: All tiers implemented
def get_score(difficulty: str) -> int:
match difficulty:
case "easy": return calculate_easy()
case "medium": return calculate_medium()
case "hard": return calculate_hard()
# GOOD: Tests for all tiers
class TestScoring:
def test_easy_scoring(self): ...
def test_medium_scoring(self): ...
def test_hard_scoring(self): ...
If implementation is interrupted:
## Implementation Paused
| Tier | Status | Notes |
|------|--------|-------|
| Easy | Completed | Done |
| Medium | In Progress | Blocked: need API design decision |
| Hard | Pending | Waiting for Medium |
### Resume Instructions
- Resolve: API endpoint naming convention
- Continue: Medium tier implementation in `src/api/handlers.py`
See reference/team-mode.md for the complete team mode workflow with per-tier dev/reviewer/doc-writer cycles, task dependency tables, teammate spawn prompts, and fallback procedures.
| Scenario | Action | |----------|--------| | User declines confirmation | Stop and ask for clarification | | Tests fail for a tier | Fix before proceeding to next tier | | Blocked by external dependency | Pause, document, and notify user | | Unclear tier requirements | Ask user for clarification before implementing | | Team mode: teammate failure | Fallback to Solo Mode from next incomplete tier | | Team mode: review loop exceeded | Approve tier with remaining items noted (max 2 rounds) | | Agent Teams not enabled | Fall back to Solo Mode with warning |
development
Generate and validate the bidirectional traceability matrix linking requirements, design, code, tests, risk records, and standard clauses. Consumes docs/.index/{manifest,bundles,graph,router}.yaml plus an optional compliance/ directory and produces docs/.index/traceability.yaml (machine-readable) and docs/.index/traceability.md (human-readable). Read-mostly: writes only the two trace artifacts and never mutates source documents. Opt-in — no-op when docs/.index/graph.yaml is absent so non-regulated repos are unaffected.
development
Maintain a SOUP (Software Of Unknown Provenance) register for every third-party software item the project depends on. Discovers candidates from lockfiles (package-lock.json, go.sum, Cargo.lock, requirements.txt, pyproject.toml, pom.xml, packages.lock.json), enriches with human-supplied risk class and verification refs, validates against a license allow-list and the requirements catalogue, and emits a per-supplier report. Outputs docs/.index/soup.yaml plus docs/.index/soup.md. Subcommands: discover | enrich | validate | list | report. Bidirectional linking with traceability via the soup_ids[] field on requirement rows. Opt-in: no-op when no lockfile is detected and docs/.index/soup.yaml is absent. Atomic writes (*.tmp + rename); idempotent (records sorted by id). Implements IEC 62304 sections 5.3.3 (SOUP requirements) and 8.1.1 (configuration items).
devops
Parse sonarcloud[bot] PR comments, classify findings, codify whitelisted auto-fixes, escalate the rest.
testing
Manage Hazard and Risk records for projects on the regulated-industry track. Maintains a single normalized risk file (docs/.index/risk-file.yaml) holding hazard identification, initial and residual risk estimates, control measures with verification links, and bidirectional Risk<->Requirement linking via the requirements[] field. Subcommands: add | edit | evaluate | validate | list. Output is consumed by the traceability skill (matrix risk_ids[] field) and the evidence-pack skill (risk_file kind). Opt-in: no-op when docs/.index/manifest.yaml is absent so non-regulated repos are unaffected. Atomic writes via *.tmp + rename; idempotent for diffability. Implements ISO 14971 sections 5-9 operationally.