ilancohen/lodestar-skills

lodestar-setup

- Sets up the lodestar suite in a repository: writes .agents/lodestar/context.md (package layout, conventions, optional dependency policy, audit scope when audit is installed).

ソースを見る
リポジトリの原文

見出し、例、コード、表、リンク、参照画像を含む原文を表示しています。

Write the agent-neutral config the lodestar skills need. The one file that matters is .agents/lodestar/context.md. Sibling skills that need repo facts read that file; they never read AGENTS.md for layout or commit policy.

Do not do a broad repo survey. Do not propose architectural changes (lodestar-architecture exists for that). Do not Read the full setup-state JSON into chat — pass its path to commands; use stdout projections only.

Resolve every bundled template path relative to the directory containing this SKILL.md. Paths beginning with .agents/ are output paths in the target repository.

What this skill does — and does not do

  • Does: one deterministic collector pass; two user interactions

(review + permissions); drive writes from state + corrections; complete from summarize-results.

  • Does not: ask which workflows the user plans to use, invent

Dependency Policy from today's import graph, or load full state into conversation.

How to talk to the user

Anything you print or ask is read by a person who is skimming.

  • Ask one clear question at a time. Say what happens for each answer.
  • Say what a thing is, not what it is called. Keep internal config keys

out of questions.

  • Never make the user do arithmetic; give the numbers and your

recommendation.

  • Never trim or postpone a warning. Never truncate consent rows.
  • Point first. Bullets, not paragraphs. Blank line between blocks.
  • Bold the first few words of each bullet.

Milestones

Concise chat progress — not diagnostic logs or run files:

  • Opening — scope, output path, checks, mutation/commit policy
  • Before long work — current step name
  • At boundaries — completed count and next step
  • Closing — from summarize-results only

Work through the steps in order. Before each step, load the references/ file that step names. Those files are one hop from this one — a step reference must not load another step reference.

Temp paths (before Step 0)

Create three OS-temp paths (via mktemp or runtime.tempDir) for:

  • --out state JSON
  • corrections JSON
  • results JSON

Never commit them. Pass paths to commands; do not paste file contents into chat.

Let <setup-skill> be the directory containing this SKILL.md. Let <repo> be the target repository root.

Step 0 — Collect once

Follow references/00-confirm-scannable.md and references/01-collect-facts.md.

One discovery invocation only. Read stdout projection only. If scannable.total === 0stop, write nothing. If needsInput includes pkg-manager → ask once; write answers into corrections JSON (do not re-run full agent discovery).

Step 1 — Review (interaction 1)

Follow references/02-review.md. One review screen from the projection; one correction round → small corrections JSON. Skip audit-only headings when hasAudit is false.

Step 2 — Permissions (interaction 2)

Follow references/03-permissions.md. One tick list of writes outside `.agents/` only. Do not repeat layout/commands/conventions/scope from review. Omit Fallow rows when audit is absent.

Step 3 — Mutations

Honor ticks. Ask nothing. Follow in order:

hasAudit**; otherwise skip

After each op, record-result immediately (changed|skipped|failed + path + remedy). Never echo raw child stdout into chat. Never rebuild the summary from dirty git.

principles.md is never copied. Do not write CLAUDE.md or Copilot instructions. skills-only does not touch AGENTS.md. Never install over an in-range Fallow. A declined or failed install is not a setup failure.

Step 4 — Completion

Follow references/08-confirm.md. summarize-results --results <file> --state <file> only. Then setup-state.mjs cleanup --state --corrections --results (success or after recording failures).

同じリポジトリから

関連する Skills

すべての Skills
ilancohen
コミュニティ

lodestar-audit

- Audits a codebase against the review rubric in context.md ( Review Rubric, or principles only when that section is absent) and writes self-contained findings and action items under the output-root in context.md (default docs/audit/). Discovery only; never modifies application source. Restartable from findings.md. Do not load unless the user explicitly invokes lodestar-audit by name.

導入数
1
GitHub Stars
0
更新日
9月10日
ilancohen
コミュニティ

lodestar-docs

- Harvests leftover knowledge from lodestar-owned docs staging into existing canonical homes, then deletes files that would not help an agent starting fresh. Default scope is audit done/abandoned, architecture reviews, and plans done/abandoned — not the whole docs/ tree. Never creates new homes, never edits application source or .agents/lodestar/context.md. Do not load unless the user explicitly invokes lodestar-docs by name.

導入数
1
GitHub Stars
0
更新日
9月10日
ilancohen
コミュニティ

lodestar-fix

- Triages and executes action items produced by lodestar-audit. Updates item status, verifies changes, and can commit with consent. Modifies application source code. Do not load unless the user explicitly invokes lodestar-fix by name.

導入数
1
GitHub Stars
0
更新日
9月10日
ilancohen
コミュニティ

lodestar-plan

- Writes an implementable plan under the resolved plans root (default docs/plans/) with a rigor: light | standard | full tier. Grounds named files and commands before creating the root or any plan files. The filesystem is the index — no ledger. Does not implement the plan and does not edit application source. Do not load unless the user explicitly invokes lodestar-plan by name.

導入数
1
GitHub Stars
0
更新日
9月10日