Retour au catalogue
Annoté par modèleDéveloppement

Dossier du skill

test-driven-development

Déclaration de la source

Use when implementing any feature or bugfix, before writing implementation code

La description originale de l'auteur, conservée en anglais. Elle décrit l'intention, pas des performances vérifiées.

Use when implementing any feature or bugfix, before writing implementation code

development

Le contenu de recherche de ce site est publié en anglais et en chinois ; il est affiché ici en anglais.

Résumé de la recherche

Annoté par modèle

Skill Atlas model curation · model-curated-0.1.0

A process Skill that enforces a red-green-refactor loop: write a failing test, implement the smallest passing change, then improve structure while preserving behavior.

Portée de l'examen

Deterministic static analysis of collected SKILL.md and supporting text/code. Machine-assisted candidates and findings are static-analysis candidates; no dynamic behavior or effect is assessed.

Capacités observables

  • Guides a strict test-first workflow.
  • Uses failing tests as evidence before implementation.
  • Requires a refactor step after passing tests.
  • Targets code with observable behavior.

Limites et portée

  • Not every task has cheap, deterministic tests.
  • Can be counterproductive for throwaway prototypes or exploratory UI work.
  • Test quality and build success are not verified here.

Pertinent pour

  • Developers working on maintainable codebases
  • Teams with automated test infrastructure
  • Agents prone to speculative implementation

Ce que contient le skill

L'inventaire des fichiers provient de la source collectée au commit consigné. Les chemins et les tailles sont des observations structurelles, pas une mesure de qualité.

fichiers
2
Fichiers Markdown
2
scripts
0
références
1
Taille
17,4 KB
Complexité structurelle
Faible

Inventaire des fichiers

CheminTypeOctets
skills/test-driven-development/SKILL.mdInstruction9,4 KB
skills/test-driven-development/writing-good-tests.mdRéférence8,1 KB

Frontmatter du SKILL.md

{
  "name": "test-driven-development",
  "description": "Use when implementing any feature or bugfix, before writing implementation code"
}

Une lecture de la séquence de fonctionnement

Ce workflow reconstitue la séquence apparente à partir du matériel source. Sauf si une évaluation contrôlée est explicitement consignée, il est provisoire et non une trace observée.

  1. 01
    Entrée

    Confirm scope

    Read the trigger conditions and decide whether this skill matches the current task.

  2. 02
    Action

    Load instructions

    Claude Code reads the full SKILL.md when the skill is selected.

  3. 03
    Décision

    Use resources deliberately

    Read references or run scripts only when the documented workflow requires them.

  4. 04
    Sortie

    Deliver and verify

    Produce the requested artifact and verify it against the source-described acceptance criteria.

Surfaces de risque potentielles

Les constats statiques signalent les points à examiner avant l'installation. Ils n'établissent pas qu'un skill est sûr, malveillant ou efficace.

Éléments à examiner

21 deterministic lexical finding(s) require review across the collected text. Findings can occur in documentation and do not prove execution or exploitability; binary-only files were not scanned.

Accès réseauNon observé
Écritures de fichiersObservé
Utilisation d'identifiantsNon observé
Note

File modification is described or implemented

21 occurrences

This line contains a possible file-write or redirection operation. Check destination paths and overwrite behavior; the static review did not write any file. This rule matched 21 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Note de sécurité éditoriale

Review repository-wide or destructive commands before automating this workflow.

Où le contexte peut être consommé

Les couches de découverte, d'activation et de ressources n'ont pas la même signification. Les valeurs exactes n'apparaissent que si la méthode officielle de comptage a été exécutée avec un modèle nommé.

Comptage exact des tokens indisponible

All token values, including per-file inventory, are null until the pipeline performs an official exact count with an explicit model.

Aucune mesure de tokens n'a été consignée selon la méthode officielle requise. Ce dossier ne la remplace ni par un nombre de caractères, ni par une taille de fichier, ni par une estimation.

Évaluation contrôlée

Aucune évaluation contrôlée

Ce skill ne dispose que des preuves identifiées ci-dessus. Aucun taux de réussite, gain d'efficience en tokens, latence ou avantage de qualité n'est affirmé.

Non testé

Utiliser en gardant la source en vue

Commande d'installation
git clone https://github.com/obra/superpowers.git cd superpowers # Copy this skill directory into one of: # ~/.claude/skills/test-driven-development # .claude/skills/test-driven-development
  1. Open the immutable source at https://github.com/obra/superpowers/tree/22f0b463e7a5e579904dd6211a520321035526f7/skills/test-driven-development/SKILL.md.
  2. Review the license, prerequisites and all bundled resources.
  3. Install the skill into a personal or project-level Claude Code skills directory.
  4. Restart or refresh Claude Code so the skill can be discovered.
Vérifier l'installation

Check that SKILL.md is discoverable at the destination, then ask Claude Code to use the named skill on a test task.

Prérequis

  • Not every task has cheap, deterministic tests.
  • Can be counterproductive for throwaway prototypes or exploratory UI work.
  • Test quality and build success are not verified here.

Exemples de prompts

Representative task

Use the test-driven-development skill to help with this task. First summarize what the skill will do, then execute its documented workflow and show the source-linked evidence for each major decision.

Inspect before use

Read the test-driven-development skill files at https://github.com/obra/superpowers/tree/22f0b463e7a5e579904dd6211a520321035526f7/skills/test-driven-development/SKILL.md. Explain its workflow, required tools, permissions and the main risks before I decide whether to install it.

Une conclusion, avec ses limites

Points forts

  • Reinforces a well-known engineering discipline.
  • Makes the test-first sequence explicit.

Points d'attention

  • Setup cost can exceed value on small scripts.
  • Test suites can be shallow if criteria are weak.
Conclusion de recherche

A solid default for code work where tests are cheap and behavior is verifiable.

Traçable par construction

Le dossier est une lecture datée d'un artefact public, pas une approbation. Utilisez le lien source pour examiner le contenu amont exact.

obrasuperpowersskills/test-driven-development
Type de source
Communauté
Commit
22f0b463e7a5e579904dd6211a520321035526f7
Collecté
20 nov. 2026
Dernière vérification
20 nov. 2026
Licence amont
MIT
Étoiles du dépôt
322 494
Base du contenu

Deterministic lexical parsing, YAML frontmatter validation, file inventory, source-described workflow extraction, and heuristic provisional classification of the supplied files only. Generated by machine; no LLM, execution, or dynamic testing.