AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Context Bootstrap

skill-hoangthhe171527-agent-skills-context-bootstrap · by hoangthhe171527

Generates or refreshes a high-signal CLAUDE.md (agent context file) plus an architecture map and domain glossary for any repository, so both AI agents and humans work faster and make fewer mistakes. Derives the essentials from the actual code — how to build/run/test, architecture & module boundaries, conventions, key entrypoints, gotchas (env/containers), and do/don't rules — and writes a concise…

No reviews yet
0 installs
32 views
0.0% view→install

Install

$ agentstack add skill-hoangthhe171527-agent-skills-context-bootstrap

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-hoangthhe171527-agent-skills-context-bootstrap)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
3mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Context Bootstrap? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

context-bootstrap

Give an agent (and a new teammate) the minimum high-signal context to be productive in a repo: a concise CLAUDE.md, an architecture map, and a domain glossary — all derived from the code, not guessed.

CLAUDE.md is loaded into the model's context every session, so it must be short, accurate, and high-leverage. This skill optimizes for signal-per-token: the things an agent gets wrong without being told, and nothing it can trivially discover.

Golden rules

  1. Concise > complete. CLAUDE.md earns its place in every prompt. Prefer ~30–120 lines of essentials over an exhaustive manual. Depth goes in docs/architecture.md, linked — not inline.
  2. Evidence-based. Every command, path, and convention must be verified against the repo (run it / read it). No aspirational rules, no invented scripts. If unsure, omit or mark .
  3. Merge, never clobber. If a CLAUDE.md (or AGENTS.md/Cursor rules) already exists, read and improve it in place — preserve human-written guidance; fill gaps; fix what's stale.
  4. Capture what bites. The highest-value lines are the non-obvious gotchas: container-only services, codegen steps, "run X before Y", a test DB quirk, a naming convention, a "don't edit generated file Z".
  5. Do/Don't over prose. Agents follow crisp imperatives ("Use rg, not grep"; "Never edit *.gen.ts") better than paragraphs.
  6. Outputs land in the target repo. CLAUDE.md at the relevant root(s); optional docs/architecture.md + glossary. Never modify this skill.

Inputs (arguments)

Invoke as context-bootstrap [mode] [scope]:

  • mode(omitted) full bootstrap (CLAUDE.md + architecture map + glossary). refresh = update an existing CLAUDE.md only. claude-md = just the CLAUDE.md. auto = run end-to-end without pausing.
  • scope — a subdir/package for a nested CLAUDE.md in a monorepo (e.g. apps/web). Omitted → repo root, plus propose nested files for clearly-separable packages.

Workflow

Track with TodoWrite. Read the linked reference for each phase.

Phase 0 — Survey the repo → read references/01-extraction.md

Detect stack, package managers, build/test/run commands, entrypoints, module layout, data layer, config/env, containers, CI, and existing context files (CLAUDE.md, AGENTS.md, .cursorrules, README, CONTRIBUTING). Run scripts/repo-survey.sh for a fast first pass, then verify. Verify run/build/test commands actually exist (CI and package scripts are the source of truth).

Phase 1 — Decide what belongs → read references/00-what-goes-in-claude-md.md

Select only high-signal items: project purpose (1–2 lines), the exact build/run/test commands, architecture & boundaries (brief), conventions the agent must follow, key entrypoints/paths, gotchas, and explicit do/don't. Drop anything trivially discoverable or generic.

Phase 2 — Write / merge → read references/02-writing-and-merging.md (+ templates/)

Write CLAUDE.md from templates/claude-md.md, merging with any existing file. For a monorepo, add nested CLAUDE.md in packages with materially different setups (root stays general; nested holds package specifics). Optionally write docs/architecture.md (deeper) and a glossary, and link them from CLAUDE.md.

Phase 3 — Verify & report

Re-read the result as if you were a fresh agent: are the commands runnable, the rules unambiguous, the file short? Trim filler. Summarize what was created/updated and any items needing the owner's confirmation.

Definition of done

  • A concise, accurate CLAUDE.md at the right root(s); existing guidance preserved.
  • Commands verified; conventions and gotchas captured; do/don't explicit.
  • Optional architecture map + glossary written and linked.
  • No invented facts; this skill's files untouched.

Usage & install

See README.md.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.