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

Software Project Bootstrap

skill-bryann2k-skills-software-project-bootstrap · by BRYANN2K

Use when starting a software repository or safely adopting an existing one before product implementation. Discovers project constraints, selects a minimal or spec-driven profile, produces a digest-bound non-destructive file plan, creates portable project and agent contracts without installing or running tooling, and diagnoses bootstrap drift read-only.

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

Install

$ agentstack add skill-bryann2k-skills-software-project-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-bryann2k-skills-software-project-bootstrap)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
18d 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 Software Project Bootstrap? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Software Project Bootstrap

Overview

Turn known software-project constraints into a small, portable repository foundation without choosing the product, architecture, framework, or package manager for the user. Support both a new directory and non-destructive adoption of an existing repository through separate discovery, planning, authorization, application, and diagnosis phases.

The deterministic helper creates only reviewed repository files. It never installs dependencies, initializes Git or a specification tool, runs validation commands, generates framework boilerplate, creates CI, commits, pushes, publishes, or deploys.

Never scaffold while project-defining decisions are unknown, overwrite a conflicting file, follow a symlinked target, write credentials, or treat an approved plan as authorization for unrelated actions. Review the exact file plan and require explicit authorization for those writes. Dependency installation, Git changes, external tool initialization, publication, deployment, deletion, migration, and production mutations always require separate scope and authorization.

When to use

  • Start a repository for a website, web application, dashboard, TUI, CLI, desktop application, API, backend, library, or package.
  • Add a minimal project contract and agent instructions to an existing repository without replacing its conventions.
  • Choose between a lightweight foundation and a spec-driven workflow.
  • Diagnose whether a previous bootstrap still matches its manifest.
  • Establish source roots, test roots, language, package-manager, validation, documentation, and decision boundaries before implementation.

Do not use this skill to invent an underspecified product, choose a framework without evidence, install tooling, generate a full application, design CI/CD, or implement behavior. After bootstrap, route work to the matching engineering skill. Use infrastructure-project-bootstrap instead when infrastructure-as-code is the repository's primary product.

Routing precedence

Choose this skill when the requested outcome is a portable software-repository foundation or diagnosis. Do not run another bootstrapper on the same root unless both tools' exact file ownership has been reviewed. Prefer an existing repository's instructions and ownership over generated defaults.

Operating modes

| Mode | Use when | Write boundary | |---|---|---| | init | Target is absent or empty | Create only reviewed files | | adopt | Repository already contains work | Preserve unowned files; create missing managed files; update only the managed .gitignore block | | doctor | Check bootstrap health | Read-only; never runs declared commands |

Profiles are independent of modes:

| Profile | Select when | Adds | |---|---|---| | minimal | Work is small, reversible, and owned by one team | Project contract, agent instructions, safe ignores, selected roots and docs | | spec-driven | Work crosses systems or teams, changes public contracts, migrates data, carries security/compliance risk, or is hard to reverse | Minimal profile plus a generic specs/ contract |

OpenSpec is an optional recorded choice, not a dependency. The bootstrap never installs or initializes it.

Workflow

1. Inspect before asking

Inspect the target, applicable repository instructions, manifests, lockfiles, source and test layout, package-manager declarations, documentation, CI definitions, and Git status. Do not read credential values or private runtime data.

Classify candidate inputs as:

  • Known — supported by repository evidence or the user;
  • Decision required — changes product kind, ownership, public contracts, source/test boundaries, tooling, or validation;
  • Optional — can be omitted without constraining implementation;
  • Later implementation — framework files, dependencies, features, CI jobs, or release configuration.

Use [discovery and profile guidance](references/discovery-and-profiles.md) only when a decision remains unresolved.

Complete when: every manifest field is known, explicitly open, or removed; no installed executable or familiar stack was treated as project intent.

2. Create a temporary manifest

Copy the appropriate template outside the target repository:

cp /templates/minimal-manifest.json /tmp/software-project.json

Use spec-driven-manifest.json only when the risk indicators justify it. Fill the temporary file with observed or approved facts. The field and mode guarantees are in [the bootstrap contract](references/bootstrap-contract.md).

Rules:

  • keep credentials and private paths out of all fields;
  • treat direct, repeated-quote serialized, dot- or space-separated, compact identifiers in any case with environment or version prefixes/suffixes, URI, bounded-punctuation authorization-wrapper, and bounded ASCII-encoded credential-like assignments as invalid; diagnostics must not repeat the rejected value, and the filter does not replace direct inspection;
  • reject malformed JSON, including numeric literals beyond the runtime's bounded integer conversion, with a controlled generic diagnostic and no generated project root;
  • declare validation commands without claiming they ran;
  • record package managers only when the repository or user selected them;
  • use literally canonical portable repository-relative source and test roots; do not rely on slash, dot-segment, or separator normalization;
  • preserve unresolved structural decisions under open_decisions;
  • do not add frameworks, deployment targets, databases, or services merely because they are common.

Complete when: the temporary manifest represents the approved repository contract and parses without hidden defaults.

3. Generate a read-only plan

python3 /scripts/bootstrap_project.py plan \
  --manifest /tmp/software-project.json \
  --root  \
  --mode init \
  --json

Use --mode adopt for an existing non-empty repository. The plan reports:

  • create, update, and unchanged actions;
  • current and desired content digests;
  • collisions and unsafe target states, including ancestor/descendant conflicts, Unicode-normalized case-folded aliases across the complete generated path graph and against entries already present in the target tree, and unsafe nested .gitignore negations in adopt mode;
  • requested and resolved roots;
  • a plan_digest binding the validated manifest and every managed-path observation.

plan must not create the root or modify a file. A BLOCKED plan is a stop condition. Do not delete, rename, overwrite, or move user-owned files to force a green plan without a separate decision. Before mutation, apply revalidates every planned action. In init mode it prepares the complete tree beside the target and installs it by one rename; in adopt mode it journals managed paths and restores them on failure, reporting explicitly if restoration itself cannot complete.

Complete when: the plan is READY, every path is understood, no collision remains, and the exact digest is retained.

4. Review and authorize the foundation

Confirm the plan contains only applicable artifacts:

  • software-project.json — machine-readable bootstrap source of truth;
  • PROJECT.md — product kind, roots, constraints, decisions, and validation contract;
  • AGENTS.md — minimal agent-agnostic boundaries;
  • a managed .gitignore block for local credentials and machine state;
  • .gitkeep anchors only for selected source and test roots;
  • selected documentation anchors;
  • specs/README.md only for a selected spec workflow.

Reject framework boilerplate, fake features, package installation, CI, automatic commits, publication, or deployment. Obtain explicit authorization for the reviewed file writes.

Complete when: the user has authorized the exact plan scope and existing ownership remains intact.

5. Apply the reviewed plan

python3 /scripts/bootstrap_project.py apply \
  --manifest /tmp/software-project.json \
  --root  \
  --mode init \
  --plan-digest 'sha256:' \
  --json

Use the same mode as the plan. The helper recomputes the plan immediately before mutation and rechecks root resolution, target type, symlinks, and current content before each write. It uses atomic replacement per file but does not promise a cross-file transaction or protection from a hostile concurrent local process with write permission.

Do not run a package manager, generator, git init, spec-tool initialization, validation command, commit, push, or deploy as an implicit post-step.

Complete when: status is APPLIED, and created/updated/unchanged lists match the authorized plan.

6. Diagnose the result read-only

python3 /scripts/bootstrap_project.py doctor \
  --root  \
  --json

Interpret precisely:

  • PASS — required managed artifacts and safety exclusions match the manifest;
  • WARN — structure is valid, but open decisions or validation gaps remain;
  • FAIL — required structure, generated contracts, or safety exclusions are missing, drifted, or unsafe.

commands_executed must remain an empty array. The doctor validates declarations but does not execute them. Inspect generated files directly. Run repository-native checks separately only after inspecting their scope and side effects.

Complete when: doctor output is recorded and structural success is not represented as implemented or tested product behavior.

7. Hand off to the specialized workflow

Route the next slice by product interface:

| Product | Next skill | |---|---| | Public/content/marketing site | website-production-engineering | | Stateful browser application | web-application-engineering | | Analytical or operational console with dashboard-specific semantics | dashboard-application-engineering | | Full-screen interactive terminal application | terminal-ui-engineering | | Line-oriented scriptable command | command-line-tool-engineering | | Native or packaged graphical desktop application | No desktop specialist is included in this pack; use the repository's desktop workflow and apply architecture, delivery, and completion skills only for their own contracts. | | Public network API | No API specialist is included in this pack; hand off to the repository's API workflow and preserve its request/response compatibility contract. | | Backend service without a primary public UI | No backend specialist is included in this pack; hand off to the repository's service workflow and preserve its operational boundaries. | | Imported library or package | No library/package specialist is included in this pack; hand off to the repository's package workflow and preserve its public programming interface. | | other or an interface not yet classified | Record the missing interface/workflow as an open decision; do not infer a specialist or begin product implementation. |

Use the cross-domain agents-md-authoring skill at agent-workflows/agents-md-authoring to audit or propose richer repository instructions once real commands, conventions, compatibility boundaries, and subproject differences exist. The bootstrap owns its generated AGENTS.md and doctor verifies it exactly. Before writing an adapted root file, either update the owning bootstrap contract/generator or obtain an explicit transfer of ownership and report that subsequent doctor output will show intentional drift. Never break bootstrap ownership silently.

Use documentation, architecture, delivery, and completion skills only for their own contracts. Bootstrap completion does not imply feature completion. Stop bootstrap after the repository is structurally inspectable and the authorized minimal wiring is applied and diagnosed; product implementation begins in the selected surface skill.

Output contract

Bootstrap: READY | APPLIED | WARN | BLOCKED
Mode: init | adopt | doctor
Profile: minimal | spec-driven
Kind: 

Decisions
- Known: 
- Open: 

Files
- Created: 
- Updated: 
- Unchanged: 
- Collisions: 

Verification
- Plan: 
- Doctor: PASS | WARN | FAIL
- Executed checks: 

Not performed
- 

Never call READY an applied result, or APPLIED an implemented or verified product.

Common pitfalls

  • Scaffolding before inspecting the repository.
  • Assuming Node, a monorepo, one framework, or one package manager for every product.
  • Treating installed tooling as an architectural decision.
  • Using init against a non-empty repository instead of adopt.
  • Overwriting PROJECT.md or AGENTS.md because generated text looks better.
  • Executing validation strings merely because the manifest lists them.
  • Making Cursor, OpenSpec, GitHub, one operating system, or one agent client mandatory.
  • Reusing a digest after the manifest, resolved root, or managed path changes.
  • Saying the project works because structural doctor checks pass.

Verification checklist

  • [ ] Repository evidence was inspected before questions or generation.
  • [ ] Product kind, language, package manager, roots, and validation are known or explicitly open.
  • [ ] The selected profile reflects risk rather than preference.
  • [ ] The manifest contains no credentials or private machine assumptions.
  • [ ] plan completed without changing the target.
  • [ ] Every managed path and collision was reviewed.
  • [ ] File writes received explicit authorization.
  • [ ] apply used the exact reviewed digest and mode.
  • [ ] Existing non-managed files were preserved; symlinked or conflicting targets were blocked.
  • [ ] No dependency, Git, spec-tool, CI, publication, or deployment action ran implicitly.
  • [ ] doctor ran after the final bootstrap mutation and executed no declared command.
  • [ ] The handoff names the specialized next workflow without overstating bootstrap completion.

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.