Skip to main content
Ejecuta cualquier Skill en Manus
con un clic

ts-declare-first

Estrellas2
Forks0
Actualizado21 de mayo de 2026 a las 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

Instalación

Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.

Explorador de archivos
5 archivos
SKILL.md
readonly