agentleFS
lohi-ailohi-ai/babysit/.claude/skills/setup-project/SKILL.md

setup-project

Skill0 starsChanged 7 days agoMITView on GitHub

Initialize or update a repo's 2build configuration, QA target, architecture and release documents, and project pointers. Use for onboarding or requested configuration changes; use harness-audit to inspect existing AGENTS.md, CLAUDE.md and related harness files.

  • Reads credentials

20 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use research, tdd and 1 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • NVIDIASkill

    research

    Before designing a feature, research how comparable libraries solve the problem, check best practices, known pitfalls, and upstream changes. Use when starting a new feature, investigating an unfamiliar area, or the user asks to research something.

    Also in 5 projects that use this

  • GoogleSkill

    tdd

    Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.

    Also in 3 projects that use this

  • GoogleSkill

    code-review

    Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

12 rules. 0 are common, 4 are distinctive, and 8 are very specific to this project.

  • 0

    Common

    Most of the 18 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 8

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create the minimum configuration future runs need.

    line 7
  2. Distinctive:

    Follow preamble for bootstrap and telemetry, and Auto-Decision Framework for decisions.

    line 10
  3. Very specific:

    Read applicable AGENTS.md / CLAUDE.md, existing .babysit configuration, remote/default branches, package scripts, lockfiles, …

    line 16
  4. Very specific:

    If login is needed, keep credential names in QA config and values in ignored files or environment variables.

    line 53
  5. Very specific:

    Never replace values or invent accounts.

    line 57
  6. Distinctive:

    Follow project context links.

    line 66
  7. Very specific:

    If no equivalent owner exists, create RELEASE.md from observed version files, scripts, CI and runbooks — a greenfield repo too, with …

    line 72
  8. Very specific:

    Only a repo with no release surface at all records Release: N/A — <reason> in the entrypoint instead of a file.

    line 82
  9. Distinctive:

    Add one concise 2build pointer section to the existing instruction entrypoint (AGENTS.md preferred when both exist.

    line 84
  10. Very specific:

    Add prepare / revert only for an established, safe local lifecycle.

    line 103
  11. Very specific:

    Use harness-audit's checks scoped to the files and services configured here.

    line 107
  12. Very specific:

    Do not branch, commit, push, tag, publish, deploy, suspend workflows or upgrade local tools as part of this skill.

    line 128

“Common” is measured: kept by at least 6 in 10 of the 18 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

setup-project

Create the minimum configuration future runs need. Re-running preserves valid settings and fills gaps; it is not an implicit profile switch or repo-wide audit.

Follow preamble for bootstrap and telemetry, and Auto-Decision Framework for decisions. Shared refs are filesystem paths beside this skill's directory, so read them by path, not as skill://.

Discover before writing

Read applicable AGENTS.md / CLAUDE.md, existing .babysit configuration, remote/default branches, package scripts, lockfiles, Makefile/compose and CI. Discover the architecture owner of every service (nested docs and entrypoints included, per project docs) and, where applicable, design, deployment and release guidance, including version sources, package publication and automatic pipelines. Derive service working directories, runtime, local target and useful checks. Preserve explicit user choices, intentional overrides, named environments and credential variable names. Do not copy template ports or commands as facts.

For an inspection-only request, use harness-audit. Setup owns configuration writes; that skill owns the evidence checklist. Setup creates missing architecture/release owners and patches links, headings and verified facts; it does not rewrite existing content or unrelated instructions unless asked.

Configure only missing or requested settings

  • Git needs no configuration (git flow). Verify the base branch resolves to the branch the repo releases from (origin/HEAD by default); if not, report the one-line fix (git remote set-head origin <branch>) instead of writing a policy file. A leftover .babysit/git-flow.yaml is ignored; mention it, never extend it.
  • .babysit/qa.yaml: use the smallest supported local configuration. Preserve service check maps and named environments when present. Record actual start and check commands with their working directories, a health/page target, and critical flows including a validation, error or empty-state case. A hosted URL cannot substitute for a missing local target. For CLI/library projects, document their real check commands; do not fabricate a web app.
  • .gitignore: ignore .babysit/.env and any machine-local .babysit/qa.local.yaml. Verify they are also untracked; an ignore rule does not remove an already tracked secret. Never print secret values.
  • .claude/settings.json (project, committed), when Claude Code is a harness: merge env.CLAUDE_CODE_SUBAGENT_MODEL: "sonnet" and subagentPromptCacheTtl: "1h" if absent, so subagents run on Sonnet and keep their prompt cache warm across long tool waits. Keep every other key; an existing value is a deliberate choice. Never write settings.local.json or ~/.claude/.
  • If login is needed, keep credential names in QA config and values in ignored files or environment variables. Preserve environment-specific names; use QA_USER / QA_PASS only for a new single-target harness. Seed only missing placeholders with bbs secrets seed --repo-root <repo> <names...>. Never replace values or invent accounts. Multiple GitHub accounts may need GH_ACCOUNT; use a known login, never guess one.
  • Architecture owners: per project docs, every service has an architecture document and a multi-service repo also has a system document limited to what sits between services. Create a missing one from the skeleton, filled with repository facts and a TODO(2build): line under each heading the repository cannot answer yet.
  • Make AGENTS.md a project map: link architecture guidance, plus design and deployment/release guidance when applicable, with service scope and when to read each. Follow project context links; these project characteristics belong alongside the tooling configuration.
  • Release profile: for a releasable app, CLI, library or pack, reuse the profile linked by the instruction entrypoint, otherwise existing .babysit/release.md, RELEASE.md or a maintained inline section. Fill missing/requested facts using the release skill's profile contract. If no equivalent owner exists, create RELEASE.md from observed version files, scripts, CI and runbooks — a greenfield repo too, with placeholders (project docs § Release profile) — then link it from AGENTS.md/CLAUDE.md. Separate independent components/submodules and distinguish normal pipeline ownership from the local execution path. Mark non-applicable distribution/deploy/update stages N/A with reasons; record unresolved commands, thresholds or authority as TODO(2build): placeholders rather than inventing them. Preserve existing landing/publication policy; setup does not grant workflow suspension or release permission. A local path that still invokes Actions/Cloud Build is not --local support. Only a repo with no release surface at all records Release: N/A — <reason> in the entrypoint instead of a file.
  • Add one concise 2build pointer section to the existing instruction entrypoint (AGENTS.md preferred when both exist; create it if neither exists). Read project pointers for the section and, only when related repos are in scope, workspace registration. Update existing sections in place and preserve imports/symlinks. The template's browser bullets (including browser hygiene) are part of the pointer; add a missing one. Machine-local workspace mappings belong in ~/.babysit/config.yaml, never .babysit/config.yaml.

For a new single-target app, adapt this shape to observed commands:

version: 1
url: http://localhost:5173
start: npm run dev
check: npm test
flows: primary journey, validation error, empty state
# credentials:              # only when login is required
#   username_env: QA_USER
#   password_env: QA_PASS

Add prepare / revert only for an established, safe local lifecycle. Do not seed generic migrate/rollback commands: reversal is not necessarily safe.

Verify and hand off

Use harness-audit's checks scoped to the files and services configured here; reuse the facts already gathered. Parse YAML and inspect bbs secrets qa probe --env <local-name> without executing its output; treat deliberate overrides as valid. Audit the architecture and release owners — reachability, coverage, scope, truth and remaining placeholders — per project docs § Audit, for existing files as well as ones created here.

Inspect start/prepare commands before running them. Probe the local app when available; start only the intended local service when safe within this task. Report a missing service, credentials or infrastructure as unverified, not a passing QA run. Configuration validation does not prove application journeys; use browse / qa when actual UI verification is requested.

STATUS: DONE | DONE_WITH_CONCERNS | NEEDS_CONTEXT | BLOCKED
CONFIG: <files/keys changed, or already configured; workspace registration if any>
DOCS: <architecture/release owners per service: created | linked | audited; findings; TODO(2build) count per file>
VERIFY: <config checks and local probe results; explicit unverified items>
NEXT: <remaining prerequisite or /bbs:autopilot "<feature>">

Do not branch, commit, push, tag, publish, deploy, suspend workflows or upgrade local tools as part of this skill. Creating a release profile prepares future delivery; an execution request belongs to release.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.