Agent Primary Ts Starters banner
kongyo2 kongyo2

Agent Primary Ts Starters

AI community

Description

> Agent-primary TypeScript + npm skills. Defaults tuned for LLM-agent machine-verifiability and machine-explorability — diff stability, line-number stability, inner-loop speed, and parseable tool outp

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

agent-primary-ts-starters

Agent-primary TypeScript + npm skills. Defaults tuned for LLM-agent machine-verifiability and machine-explorability — diff stability, line-number stability, inner-loop speed, and parseable tool output over human-readable conventions.

Two `SKILL.md` guides built on one premise: the reader, editor, and primary consumer of a modern TS codebase is a coding agent. Mistakes should snag on the type checker, the tests, and the linter — not on a human reading linearly — and information worth keeping lives in checked elements (types, `satisfies`, tests), not in comments that no one maintains.

Skills

Skill What it does
`agent-primary-ts-starter` The consolidated starter: TypeScript 7 tsconfig.json (maximally strict, machine-verifiable, per-use-case routes with two-tier loop/gate configs and runtime probes), Prettier with diff-minimizing settings, Oxlint focused on real bugs with --format agent output, and the npm scripts wiring them together. Deep tsconfig doctrine lives in `references/tsconfig.md`.
`ts-comment-purge` Unconditional comment removal via `@kongyo2/ts-comment-scanner`: AST-based, strings/templates/regex/JSX never touched, directives and license headers preserved, --diff scoping for post-agent-session cleanup.

Quickstart

The companion CLI [`@kongyo2/apts`](https://www.npmjs.com/package/@kongyo2/apts) lets agents semantically search and retrieve these skills on demand:

# Find the right skill for the task
npx @kongyo2/apts@latest search "set up strict tsconfig"

# Pull a guide into context
npx @kongyo2/apts@latest retrieve agent-primary-ts-starter

# List the whole catalog
npx @kongyo2/apts@latest list

See the [`@kongyo2/apts` README](https://github.com/kongyo2/agent-primary-ts-starters-src#re