Skip to main content
Exécutez n'importe quel Skill dans Manus
en un clic

ts-declare-first

Étoiles2
Forks0
Mis à jour21 mai 2026 à 10:19

Declare-first TypeScript discipline for new modules in TS-primary AgenticApps projects, per workflow-core spec §13. When invoked on a new TS module, produces three ATOMIC commits in order: Phase 1 — declaration: a `declare`-only type-surface file (`<name>.declare.ts`). No implementation bodies, no expression initialisers, no executable code. Type- checks clean against `tsc --noEmit`. Phase 2 — tests: test files that import and exercise the declared surface. Tests MUST be observable as failing in the expected way at this commit (declarations exist, implementations don't). The expected-failure runner output is §06 evidence. Phase 3 — implementation: signatures match the declaration exactly. Tests now pass; commit captures the transition. The skill REFUSES to bundle Phase 1 and Phase 3 into a single commit. The three-commit atomicity is the structural evidence that the discipline was followed; coll

Installation

Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.

Explorateur de fichiers
5 fichiers
SKILL.md
readonly