Logo de Coding

Coding

Communauté
pssah4
coding

Handoff and bug-capture skill: loads plan-context and design artifacts, reviews them critically against the real codebase, and keeps artifacts in sync during and after implementation. TDD is the default. Use for "implement", "code", "build feature", "realize plan-context", "Bug gefunden", "es gibt einen Fehler", "Fix erfassen".

Présentation

Éditeurpssah4
Dépôtdigital-innovation-agents
Nom de la compétencecoding
Étoiles
44
Forks
7
Fichiers inclus
13
LicenceMIT
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont en simple Markdown, et non en code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • 13 fichiers inclus

    Des scripts, des modèles de documents et des références que le modèle peut consulter pendant son travail. Les fichiers sont en lecture seule et ne sont jamais exécutés.

  • Open source

    Publiée par pssah4 sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA Coding dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Collez l’URL du dossier de la compétence indiquée ci-dessous, puis confirmez.
    https://github.com/pssah4/digital-innovation-agents/tree/main/skills/coding
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter → Via URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/pssah4/digital-innovation-agents.git /tmp/digital-innovation-agents
mkdir -p .claude/skills
cp -r /tmp/digital-innovation-agents/skills/coding .claude/skills/coding
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez Coding dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement Coding dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, Coding n’est pas lié au modèle pour lequel cette compétence a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

Coding -- review, handoff and living documents

Two entry conditions:

  1. Implementation entry (typical): a FEAT / IMP / ADR / FIX is ready to be built. The full review-implement-writeback flow applies.
  2. Bug-capture entry: the user reports a bug outside an active implementation run. Capture the FIX artefact without forcing an immediate fix: references/bug-capture.md. Trivial bugs may take the hotfix lane (fix-now, document-after, five conditions): references/hotfix-lane.md.

The actual implementation is done by the default Claude Code agent. This skill loads and reviews context, persists the plan, hands the binding protocols to the agent, and keeps the artifacts in sync.

MANDATORY Pre-Phase 0: Branch and item check

Standard ritual, full rules in skills/project-conventions/references/team-workflow.md: identify the active item (BACKLOG row first for anything new), verify the branch matches <type>/<item-id-lower>-<slug> (AskUserQuestion on mismatch), run flow.py create-issue + open-draft-pr when GitHub sync is on, tag the phase at ritual end (--phase code), and write .git/dia-active-skill so subsequent invocations stay silent.

MANDATORY Phase 0: Artifact triage

Before any code, doc, or spec change, determine the artifact category: new FEATURE, IMP on an existing feature, FIX for a bug, or ADR for an architecture decision. A DIA-Triage trailer on a prior commit for this item answers the question; otherwise, if the assignment cannot be derived unambiguously from the prompt, ask ONE short question before anything else:

"Is this a new feature, an improvement on an existing feature, or a fix for a bug? If feature or IMP/FIX: which feature and which epic?"

No code or spec change without this assignment. FIX and IMP require feature: and epic: in the frontmatter. Decision tree and exceptions: skills/project-conventions/references/graph-invariants.md.

MANDATORY: Backlog as single source of truth

Whenever this skill creates or modifies a Feature, Epic, ADR, FIX, IMP, or PLAN, it writes the backlog row BEFORE touching the artifact body. Sync chain and lifecycle: skills/project-conventions/references/backlog-sot.md. If the backlog write fails, the artifact write does not run. The pre-commit hook enforces the drift-critical invariants automatically; the full /consistency-check runs before release, not per phase.

MANDATORY: Wayfinder maintenance

The wayfinder layer (src/ARCHITECTURE.map + JSDoc headers + optional module READMEs) is the only place where current code paths live. /coding owns the runtime upkeep, in the SAME commit as the code change:

  • New entry-point file -> add an ARCHITECTURE.map row AND write the JSDoc header (templates under skills/architecture/templates/).
  • Renamed -> update row and header. Deleted -> remove the row.
  • New module -> write src/{module}/README.md.

Concrete code paths NEVER appear in ADR core sections, FEATURE specs, or PLAN bodies as the source of truth (optional stale-allowed appendices excepted; see skills/project-conventions/references/three-layer-model.md).

MANDATORY: FIX/IMP and depends-on

Every piece of work outside a Feature is either a FIX-{ee}-{ff}-{nn} (_devprocess/requirements/fixes/, template FIX-TEMPLATE.md) or an IMP-{ee}-{ff}-{nn} (.../improvements/, template IMP-TEMPLATE.md). Frontmatter spec and depends-on semantics: skills/project-conventions/SKILL.md#canonical-specs.

MANDATORY: Writing style

skills/project-conventions/references/writing-style.md applies to every artifact this skill produces.

Phase 1: Load context

1a: Triage gate (before any edit)

Before the first Edit/Write/Bash call, exactly ONE of these IDs must be known: FEATURE-ID, IMP-ID, FIX-ID, or ADR-ID. If missing, the skill stops and repeats the Phase 0 question (identical wording). After the answer: backlog row first, then frontmatter anchoring.

1b: Load context

Read in order:

REQUIRED:
1. _devprocess/requirements/handoff/plan-context.md (ref index)
2. _devprocess/architecture/ADR-*.md (the decisions the index points to)
3. _devprocess/requirements/features/FEAT-*.md (feature + Success Criteria)
4. CLAUDE.md (project rules)

OPTIONAL (if present):
5. _devprocess/architecture/arc42.md
6. _devprocess/requirements/epics/EPIC-*.md
7. _devprocess/implementation/plans/PLAN-*.md (In Progress = in-flight work)
8. _devprocess/context/BACKLOG.md (open items incl. FIX rows)
9. _devprocess/requirements/fixes/FIX-*.md
10. git log --format='%(trailers:key=DIA-Handoff,valueonly)' -5 (last handoffs)
11. memory/MEMORY.md

Open questions to the architect are NOT a blocker: try to self-answer from the current artifacts and codebase first; what remains goes into ONE AskUserQuestion at the end of Phase 1, and unresolved items land as a note in the BACKLOG row or a PR comment.

If no plan-context.md exists:

No plan-context.md found. Options:

A) I have FEAT-*.md files -- work directly with them
B) I want to run the V-Model workflow -> /dia-guide
C) I have an informal description -- work with it

Phase 2: Critical review

BEFORE an implementation plan is created, check the design artifacts against the real codebase. This is the most important step.

2a: Codebase reconciliation. Do the ADR decisions match the real architecture? Existing patterns that contradict them? Missing dependencies or constraints? Modules affected but not mentioned?

2b: Review output (only divergence, gaps, and risks; absence means "matches the codebase"):

=== Critical Review: {project/feature} ===

ADRs: {count} reviewed | Features: {count} | Success Criteria: {count}

| Category        | Item                       | Action                        |
|-----------------|----------------------------|-------------------------------|
| CHANGES NEEDED  | ADR-02: {title}            | {recommendation}              |
| MISSING         | {module/pattern}           | {what to add}                 |
| RISKS           | {risk}                     | {mitigation}                  |

Please confirm or correct before I create the implementation plan.

2c: Write changes back IMMEDIATELY, before implementation: changed ADR -> update Decision + status Accepted (modified by review); rejected ADR -> Deprecated with justification; changed SC -> update FEATURE with reason; corrected refs -> plan-context.md; new decision -> new ADR. Then emit a summary of changed files.

2d: Drift count. Append a row to _devprocess/context/METRICS.md under "Drift count": Date | Drift flagged (CHANGES NEEDED + MISSING) | Drift resolved (written back in 2c). Seed from skills/dia-guide/templates/METRICS-TEMPLATE.md if absent.

Phase 3: Implementation (delegated to the default agent)

3a: Plan persistence (binding)

Every non-trivial run leaves a PLAN file behind at _devprocess/implementation/plans/PLAN-{ee}-{ff}-{nn}-{slug}.md (template: templates/PLAN-TEMPLATE.md). This skill prescribes only the traceability wrapper (frontmatter, ## Change Log, ## Implementation Notes); the plan BODY belongs to the coding agent and is pasted verbatim. Flow: next free number -> copy template -> fill frontmatter (status Draft) -> paste body -> flip to In Progress when implementation begins. Mid-course triggers append dated Change Log entries BEFORE the code edit; never rewrite earlier entries.

Skip the plan file only for single-step typo/comment fixes, documentation-only edits, or edits covered by an existing In Progress plan (append a Change Log entry instead).

Plan Coverage Gate (binding, before Status flips to In Progress): four checks (SC coverage, ADR alignment, codebase anchoring, verification gates) against the source artifacts, plus the ## Coverage Gate evidence block and the re-run rule: references/plan-coverage-gate.md. No code while a check is open.

3b: TDD (default: active)

TDD is the default for every implementation task. Opt-out only for the three exceptions (throwaway prototypes, generated code, config files), each with explicit user confirmation logged in the PLAN Change Log; --no-tdd opts out for a session. The cycle including the binding Verify-RED evidence format (state expected failure signature BEFORE the run, quote the observed output verbatim, give a verdict): references/tdd-protocol.md. Read it before the first test.

3c: Debugging protocol

On unexpected failures: no fixes without root-cause investigation. The 4-phase protocol (root cause, pattern analysis, hypothesis, implementation) plus the architecture alarm after 3 failed attempts: references/debugging-protocol.md.

Continuous writeback

Every deviation from the plan is written back IMMEDIATELY, with a short WHAT / WHY / AFFECTED ARTIFACTS confirmation to the user. Triggers: decision deviates from an ADR; SC not implementable as specified; new pattern or dependency; scope change; unexpected constraint. Targets: PLAN Change Log (append-only), ADR, FEATURE, plan-context.md refs, arc42 sections.

Phase 4: Completion

4a: Verification gate (binding)

No completion claims without fresh verification evidence run in THIS message.

ClaimRequired proofPass / Fail
Tests / build / bug-fixRun the concrete command in this message; read full outputExit code 0 and 0 failures
New symbol is reachableCaller exists outside definition file and outside testsSubtype-aware (see references)
FEATURE Activation PathEvery entry in ## Activation Path matches an identifier in codeGrep or AST query returns a hit
Wayfinder consistentsrc/ARCHITECTURE.map reflects new/renamed/removed entry-pointsRow matches the codebase

Subtype rules, forbidden language, and "what is not enough": references/verification-gate-subtypes.md.

4b: Regression test cycle (for bug fixes)

Prove the regression test catches the regression: write the test -> run 1 MUST pass (fix is in) -> temporarily revert the fix -> run 2 MUST FAIL (else fix the test) -> restore the fix -> run 3 MUST pass. Note "Regression test verified via red-green cycle on {date}" in the FIX file's ## Regression test section.

4c: Deferred stubs

Every intentional stub carries a FIXME(stub): ... -- see FIX-{ee}-{ff}-{nn} marker bidirectionally bound to an open FIX row (enforced as E-13). Syntax and rationale: references/deferred-stub-convention.md.

Mid-course triggers (binding)

Four conditions interrupt coding and route through the artefact layer BEFORE the next code edit: bug (new FIX), design (amend or supersede ADR), requirement (amend FEATURE, re-run Coverage Gate), capability (capture FEATURE + BA-Nachtrag). Pattern: STOP, route, append a Change Log entry with the trigger= tag, THEN resume. Full step lists and the [no-capture: scratch] bypass: references/mid-course-triggers.md.

Final synchronization

Backlog FIRST, artifacts follow. Every commit that references an artifact id cites it (Refs: trailer).

#LayerAction
1BacklogStatus/phase/SHA/claim/refs for every touched item; refresh dashboard
2WayfinderMap rows, JSDoc headers, module READMEs, in the SAME commit as the code
3FEATURE specsSubstance only; SC accuracy. Status lives in the backlog row
4ADRs## Implementation Notes appendix; deviations into Consequences
5PLAN## Implementation Notes: per-task SHA, deviations, test delta, cycle time
6FIX artefactsRow resolved; ## Fix and ## Regression test sections filled
7METRICSCycle time, phase transitions, trigger counts

Post-hoc ADR sweep: after the item merges, check whether a decision taken in the PLAN deserves an ADR. If yes, write it with kind: post-hoc (Context, Decision, Consequences, Sources with code paths) and link it from the backlog row.

If applicable: plan-context.md refs, arc42 sections, rules files, memory/MEMORY.md, CLAUDE.md.

Completion summary: Done: {what landed}. Deviations: {one-liner or None}.

Handoff ritual (mandatory at end of phase)

  1. Artifact report with full paths (format: references/handoff-ritual-formats.md).
  2. Handoff context: open concerns, assumptions, and bugs found go into the phase-end commit BODY; the machine-readable transition lives in the DIA-Phase / DIA-Handoff / DIA-Triage trailers.
  3. Phase-end commit per skills/project-conventions/references/team-workflow.md (branch check, staging, canonical message with DIA trailers, phase tag, draft PR). Exact CODING format: references/handoff-ritual-formats.md.
  4. Transition question: recommend /testing; on agreement start it, on rejection pause (wording in the reference).

Core principle: living documents

The artifacts (ADRs, Features, plan-context.md, arc42) are NOT one-off specifications. They are continuously updated and always reflect the actually-implemented state at the end. Review corrections, mid-course writebacks, and the final sync are the three loops that keep documentation equal to code.

Keywords

Implement, code, build, plan-context, feature realization, review, TDD, debugging, verification gate, regression test, living documents, handoff, writeback, implementation plan, hotfix, bug capture

Fichiers inclus

Le modèle lit ces fichiers à la demande lorsque la compétence est chargée. Ils sont accessibles en lecture et ne sont jamais exécutés.

Foire aux questions

À quoi sert la compétence IA Coding ?

Handoff and bug-capture skill: loads plan-context and design artifacts, reviews them critically against the real codebase, and keeps artifacts in sync during and after implementation. TDD is the default. Use for "implement", "code", "build feature", "realize plan-context", "Bug gefunden", "es gibt einen Fehler", "Fix erfassen".

Pourquoi utiliser Coding sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. Coding se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer Coding dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/pssah4/digital-innovation-agents/tree/main/skills/coding. TypingMind lit le fichier SKILL.md, regroupe les fichiers associés et installe le tout sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser Coding ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec Coding ?

Autant que vous le souhaitez. Tant qu’un modèle prend en charge les compétences, vous pouvez utiliser Coding avec lui : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA Coding est-elle gratuite ?

Oui. Cette compétence est publiée sur GitHub par pssah4 sous licence MIT. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, modèles de documents ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇