본문으로 건너뛰기
cccskills
무료GitHub에 공개

skillit-bootstrap

Bootstrap an AI-agent skill from a TypeScript codebase by running the deterministic skillit generate/audit loop and enriching repo source (JSDoc, README, config-type properties, MCP tool annotations, examples, package.json) until the skill reaches its grade target. Use for cli, typedoc, config, or mcp (build-mode) projects; never edit SKILL.md/references directly.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(2)

  • SKILL.md6.5 KB
  • references/surface-routing.md6.6 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

skillit-bootstrap

Bootstrap a high-quality AI-agent skill from a TypeScript codebase. You run the deterministic skillit pipeline, read its machine-readable findings, and enrich the repo source (JSDoc, README, examples, package.json) until the generated skill reaches its grade target. skillit owns the skill output; you own the inputs.

The one hard rule

Never create or edit any SKILL.md or references/*.md for the target project. Those are pure outputs of skillit gen — regenerated every pass. You edit only repo source surfaces. If you find yourself about to write a SKILL.md, stop: the fix belongs in the source the skill is generated from.

When to use

  • A cli (Commander), typedoc (TypeScript library), config (a TypeScript config type), or mcp (an MCP server whose TS source you own — "build mode") project that needs a generated agent skill, or whose skill scores below its grade target.
  • Run after the project is set up with the right @skillit/* package (see step 1).
  • Third-party MCP servers you cannot edit are out of scope here: with no editable source, the skill is produced from an overlay ("runtime mode") via skillit refine. This loop targets the build-mode (own-source) path. See references/surface-routing.md.

Inputs

/skillit-bootstrap [--source cli|typedoc|config|mcp] [--program <file#export>]
                   [--config-type <file#export>] [--mcp <path>] [--server <name>]
                   [--out <dir>] [--grade A|B|C] [--max-iterations <n>]
                   [--ground <glob>...]
  • --source — override detection (cli, typedoc, config, or mcp).
  • --program — Commander program entry for the cli source (./dist/cli.js#program).
  • --config-type — config type entry for the config source (./src/config.ts#MyConfig).
  • --mcp — path to mcp.json / MCP config file (mcp source).
  • --server — MCP server entry to select when the config lists several (mcp source).
  • --out — skill output dir (default skills).
  • --grade — override the kind-aware target (below).
  • --max-iterations — hard cap on enrich/regenerate passes (default 5).
  • --ground <glob> — consumer/implementation code you MUST read before writing any runtime-behavior pitfall, so your claims reflect real behavior, not guesses.

The loop

  1. Set up once. Determine the source kind (honor --source, else infer: commander/yargs dep → cli; @modelcontextprotocol/sdk dep → mcp; otherwise a TS library → typedoc). config is never auto-detected — select it explicitly with --config-type <file#export>. Each kind has its own selector: cli → --program, config → --config-type, mcp → --mcp (+ optional --server); typedoc needs none. If the project has no @skillit/* package installed yet, run skillit init --source <kind> once (it installs + wires only; it does not generate).
  2. Generate. Run skillit gen --source <kind> <selector> [--out …] (the selector is the kind's from step 1). This deterministically produces the skill from current source. Never hand-edit its output. (For mcp, gen spins up the server to introspect it, so the source skill is a function of a deterministic server.)
  3. Audit. Run skillit audit --source <kind> <selector> --json and read the JSON: estimate.grade, estimate.dimensions (D1–D8), and improvements[]. Each improvement carries suggestion, dimension, targets: [{file, name, kind}], and (when resolvable) resolvedLocations[] pointing at the exact file + declaration to edit. These targets are your work queue.
  4. Enrich the source. For each addressable finding, open the cited source file and write the missing content on the named symbol/section/key, choosing the surface the suggestion names. The surface → audit-code map and the edit-vs-create guidance are in references/surface-routing.md. Before writing any runtime-behavior pitfall, read the relevant implementation (--ground globs) — do not invent semantics from a type signature.
    • Prefer the upsertJsDocTag / upsertPropertyJsDocTag helpers (exported from @skillit/core) for JSDoc-tag writeback rather than free-hand splicing — they handle */ escaping and multi-line prefixing.
    • You may also create a new parseable artifact when that is the better home (a docs/<guide>.md, an examples/<name>.ts, a missing README section) — but only of a type an existing parser already consumes, and never a SKILL.md.
  5. Regenerate + re-audit. Re-run step 2 then step 3. Compare the new estimate to the previous pass.
  6. Decide convergence (your judgment, using these signals):
    • Pass — estimate.grade ≥ the target. Default target is kind-aware: typedoc/library → A (every export is introspectable); cli adapter-model → B, config → B, mcp → B — these surfaces structurally cap below A (a cli command tree isn't enumerated per-symbol; a config type has no functions/params, so per-option routing + one example file is its ceiling; mcp reaches A only if every tool handler carries full JSDoc). --grade overrides.
    • Plateau — the score did not rise AND every remaining finding targets a symbol that genuinely has nothing more to truthfully say. You can see the source, so distinguish "legitimately complete" from "stuck re-drafting" — stop on the former.
    • Cap — never exceed --max-iterations (default 5).
  7. Report. Print the final grade, the D1–D8 breakdown, the list of source files you enriched, and any remaining findings you judged un-addressable with a one-line rationale each. This is the human review surface; the user commits the result.

After convergence

Tell the user to review the enriched source diffs and the regenerated skill, then commit. Remind them the skill is reproducible: skillit gen on the same source yields byte-identical output, so the source diff is the real change.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

skillit

무료

Generate structured AI agent skills (SKILL.md) and llms.txt from your TypeScript API documentation

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

pradeepmouli/skillit72026년 10월 13일 업데이트

Extract CLI command structure from commander/yargs for AI agent skill generation Use when working with agent-skills, cli, commander, documentation, skill-generation, yargs.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

pradeepmouli/skillit72026년 10월 13일 업데이트

CLI documentation conventions for generated skills. Use when improving Commander descriptions, help text, positional argument docs, and config-surface correlation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

pradeepmouli/skillit72026년 10월 13일 업데이트

Shared types, SKILL.md renderer, and token budgeting for skillit plugins

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

pradeepmouli/skillit72026년 10월 13일 업데이트

Documentation conventions for generating high-quality AI agent skills from TypeScript source. Use when preparing a library for skill generation, auditing JSDoc quality, fixing audit warnings, writing @useWhen/@avoidWhen/@never tags, or asking about documentation conventions for skills.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

pradeepmouli/skillit72026년 10월 13일 업데이트

Generate AI agent skills from TypeScript documentation

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

pradeepmouli/skillit72026년 10월 13일 업데이트

pradeepmouli의 스킬 모두 보기

이 스킬의 문제 신고