ECC/.agents/skills
JongHyeok Park 7976e6faf2
feat(skills): make tdd-workflow test-runner aware (npm/pnpm/yarn/bun) (#2347)
* feat(skills): make tdd-workflow test-runner aware (npm/pnpm/yarn/bun)

Add "Step 0: Detect the Test Runner" so the RED/GREEN cycle no longer
hardcodes `npm test`. Distinguishes the package manager from the test
runner (a project can install with Bun yet run Jest/Vitest), adds a runner
command matrix, and warns about `bun test` (native bun:test runner) vs
`bun run test` (runs the package.json script) — a common ESM failure mode.
Adds a Bun native test pattern section and links the bun-runtime skill.

Applied to both the canonical skills/ copy and the .agents/skills/ Codex
subset (manual sync per CONTRIBUTING).

* docs(skills): apply <test>/<coverage> placeholders in tdd-workflow steps

Address review feedback on PR #2347: Step 0 instructs the agent to substitute
the detected runner command, but Steps 3/5/7, Run Coverage Report, Watch Mode,
Pre-Commit, and CI/CD still showed literal `npm test` / `npm run test:coverage`
— so an agent reaching those blocks could run npm test on a pnpm/bun project.
Replace them with the <test> / <test-watch> / <coverage> placeholders from
Step 0. Left untouched: the plan-handoff allowlist example and the Step 8
evidence-table samples (illustrative, not run-this instructions). Applied to
both the canonical and Codex-subset copies.

* docs(skills): make pre-commit lint runner-agnostic via <lint> placeholder

Follow-up to PR #2347 review (CodeRabbit): the pre-commit example still used
`npm run lint`, coupling it to npm after test/coverage were made runner-aware.
Add a `<lint>` column to the Step 0 runner matrix (npm run lint / pnpm lint /
yarn lint / bun run lint) and change the Pre-Commit Hook example to
`<test> && <lint>`. Applied to both the canonical and Codex-subset copies.

* chore: re-trigger CI (flaky windows/node20 npm cell)
2026-06-29 18:38:33 -07:00
..
agent-introspection-debugging fix: normalize codex skill metadata 2026-04-28 22:10:17 -04:00
agent-sort fix: normalize codex skill metadata 2026-04-28 22:10:17 -04:00
api-design fix: normalize codex skill metadata 2026-04-28 22:10:17 -04:00
article-writing fix: normalize codex skill metadata 2026-04-28 22:10:17 -04:00
backend-patterns fix: normalize codex skill metadata 2026-04-28 22:10:17 -04:00
benchmark-methodology feat(skills): add brand-discovery and competitive benchmarking pipeline 2026-06-11 21:57:55 +02:00
brand-discovery chore: reconcile publish/agent surfaces after PR batch 2026-06-15 14:21:28 -04:00
brand-voice fix: normalize codex skill metadata 2026-04-28 22:10:17 -04:00
bun-runtime fix: normalize codex skill metadata 2026-04-28 22:10:17 -04:00
coding-standards fix: refresh stale technical content in agents, rules, and skills (#2168) 2026-06-07 13:26:01 +08:00
competitive-platform-analysis fix(ci): catalog sync, markdownlint, unicode safety, unsupported frontmatter key 2026-06-11 21:58:42 +02:00
competitive-report-structure fix(ci): catalog sync, markdownlint, unicode safety, unsupported frontmatter key 2026-06-11 21:58:42 +02:00
content-engine fix: normalize codex skill metadata 2026-04-28 22:10:17 -04:00
crosspost fix: normalize codex skill metadata 2026-04-28 22:10:17 -04:00
deep-research fix: normalize codex skill metadata 2026-04-28 22:10:17 -04:00
dmux-workflows fix: normalize codex skill metadata 2026-04-28 22:10:17 -04:00
documentation-lookup fix: normalize codex skill metadata 2026-04-28 22:10:17 -04:00
e2e-testing fix: normalize codex skill metadata 2026-04-28 22:10:17 -04:00
eval-harness fix: normalize codex skill metadata 2026-04-28 22:10:17 -04:00
everything-claude-code fix: normalize codex skill metadata 2026-04-28 22:10:17 -04:00
exa-search fix: normalize codex skill metadata 2026-04-28 22:10:17 -04:00
fal-ai-media fix: normalize codex skill metadata 2026-04-28 22:10:17 -04:00
frontend-patterns fix: refresh stale technical content in agents, rules, and skills (#2168) 2026-06-07 13:26:01 +08:00
frontend-slides fix: normalize codex skill metadata 2026-04-28 22:10:17 -04:00
investor-materials fix: normalize codex skill metadata 2026-04-28 22:10:17 -04:00
investor-outreach fix: normalize codex skill metadata 2026-04-28 22:10:17 -04:00
market-research fix: normalize codex skill metadata 2026-04-28 22:10:17 -04:00
mcp-server-patterns fix: normalize codex skill metadata 2026-04-28 22:10:17 -04:00
mle-workflow fix: tune machine learning workflow routing 2026-05-11 18:11:05 -04:00
nextjs-turbopack fix: normalize codex skill metadata 2026-04-28 22:10:17 -04:00
product-capability fix: normalize codex skill metadata 2026-04-28 22:10:17 -04:00
security-review fix: normalize codex skill metadata 2026-04-28 22:10:17 -04:00
strategic-compact fix: context-size /compact trigger, Codex marketplace plugin path, live README badges (#2237) 2026-06-11 16:21:53 -04:00
tdd-workflow feat(skills): make tdd-workflow test-runner aware (npm/pnpm/yarn/bun) (#2347) 2026-06-29 18:38:33 -07:00
verification-loop fix: normalize codex skill metadata 2026-04-28 22:10:17 -04:00
video-editing fix: normalize codex skill metadata 2026-04-28 22:10:17 -04:00
x-api fix: normalize codex skill metadata 2026-04-28 22:10:17 -04:00