agentleFS
jwilgerjwilger/agent-skills/skills/bootstrap/SKILL.md

bootstrap

Skill4 starsChanged 8 months agoCC0-1.0View on GitHub

Trigger this skill immediately when the user says "bootstrap" in any form. Also trigger it for any request about initializing a project's workflow, configuring development practices, or setting up a codebase for the first time. Key signals: "bootstrap", "set up workflow", "configure TDD", "generate AGENTS.md", "recommend skills", "onboard to project", "what tools should I use", "greenfield", "just cloned", "new developer joining". Detects the project environment, recommends skills by phase, configures TDD strategy, and generates instruction files. Project-level onboarding -- NOT for writing code, tests, or performing specific dev tasks.

We split this skill into the rules it gives an agent

4 rules. 0 are common, 1 is distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 61 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If Claude Code is detected and the user wants maximum enforcement, offer to install optional hook templates from …

    line 86
  2. Very specific:

    Check if the pipeline skill is installed (skills/pipeline/SKILL.md exists).

    line 91
  3. Very specific:

    If the user selected "Set up team workflow" or "Full", offer the ensemble-team skill with its three presets (solo-plus, lean, full).

    line 152
  4. Distinctive:

    If ensemble team was configured, note the preset and member count

    line 160

“Common” is measured: kept by at least 6 in 10 of the 61 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

Bootstrap

Value: Communication -- establish shared understanding of environment, capabilities, and workflow before any work begins.

Purpose

Single entry point for configuring the SDLC workflow on any harness. Detects the project environment and harness capabilities, configures TDD mode (guided or automated), generates harness-appropriate instruction files, and recommends skills. Never silently installs or modifies anything.

Practices

Step 1: Detect the Environment

Gather project context silently before asking questions:

!test -f package.json && echo "js" || true
!test -f Cargo.toml && echo "rust" || true
!test -f pyproject.toml && echo "python" || true
!test -f go.mod && echo "go" || true
!test -f mix.exs && echo "elixir" || true
!git rev-parse --is-inside-work-tree 2>/dev/null && echo "git" || true
!ls skills/*/SKILL.md 2>/dev/null | sed 's|skills/||;s|/SKILL.md||' || true

Record: languages detected, git available, skills already installed. If no language files are found, note "none" and ask the user in Step 5.

Step 2: Detect Harness Capabilities

Probe for delegation primitives (see references/capability-detection.md): check for Agent tool and skill chaining (always available).

Step 3: Detect Harness Type

Identify the harness to generate the correct instruction files:

SignalHarness
CLAUDE.md convention, Claude Code toolsClaude Code
AGENTS.md convention, Codex toolsCodex
.cursor/rules directoryCursor / Windsurf
None of the aboveGeneric (AGENTS.md only)

Step 4: Configure TDD Mode

Match the strategy to detected capabilities:

Capabilities detectedStrategyDefault mode
Agent toolSubagentsAutomated
NeitherChainingAutomated

Chaining is always available and runs all TDD phases sequentially in a single context. Guided mode (/tdd red, /tdd green, etc.) is always available as a user-controlled alternative. Let the user override.

If Claude Code is detected and the user wants maximum enforcement, offer to install optional hook templates from skills/tdd/references/hooks/.

Step 4b: Detect Factory Mode

Check if the pipeline skill is installed (skills/pipeline/SKILL.md exists). If detected, factory pipeline mode is available and Step 5 includes an additional question.

Step 5: Ask the User

Question 1: What are you trying to do?

  • "Start a new project" -- recommend Understand + Decide + Build phases
  • "Add a feature or fix a bug" -- recommend Build + Ship phases
  • "Set up team workflow" -- recommend all phases plus ensemble team

Question 2: How much process structure?

  • "Minimal" -- recommend tdd, domain-modeling
  • "Standard" -- recommend core + ship skills
  • "Full" -- recommend all skills (include factory pipeline skills when pipeline is detected)

Question 3 (only when pipeline detected): What autonomy level? Conservative / Standard / Full. Generate .factory/config.yaml with the chosen level. See references/skill-recommendations.md for skill lists.

Step 6: Task Tracking Convention

Include in generated instruction files that agents should use task lists (TaskCreate, TaskList, or equivalent harness tools) to track work — even for tasks that seem simple. Simple tasks often reveal subtasks, and a visible task list keeps progress transparent and prevents steps from being forgotten.

This convention goes into the AGENTS.md "Conventions" section (see references/agents-md.md). If the task-management skill is installed, reference it; otherwise, include the basic convention directly.

Step 7: Collect Per-Skill AGENTS.md Contributions

Some installed skills ship a references/agents-md-setup.md file that specifies content to add to AGENTS.md. Scan all installed skills for this file:

!for skill in skills/*/; do
  test -f "${skill}references/agents-md-setup.md" && echo "${skill}"
done

For each skill that has one, read its agents-md-setup.md and incorporate the specified content into AGENTS.md using managed markers for that skill (<!-- BEGIN MANAGED: skill-name -->). The setup file documents what section to add or append to and provides the content template.

Size budget: AGENTS.md must stay under 32 KiB total. Per-skill contributions should be concise — a few bullet points or a short section. If the combined contributions would exceed the budget, summarize and point to the skill for details rather than including full content.

Step 8: Generate Instruction Files

Generate harness-appropriate files. For Claude Code, CLAUDE.md uses @AGENTS.md references instead of symlinks or content embedding to keep a single source of truth and avoid duplication. See references/agents-md.md for AGENTS.md best practices (small routing document, progressive disclosure, managed markers) and references/harness-files.md for harness-specific generation rules.

Step 9: Optional Ensemble Team

If the user selected "Set up team workflow" or "Full", offer the ensemble-team skill with its three presets (solo-plus, lean, full).

Step 10: Commit and Display

Stage generated files, commit with a descriptive message, and display:

  • What was configured (harness, TDD mode, skills recommended)
  • Next steps (/tdd to start a TDD cycle, or phase-specific commands)
  • If ensemble team was configured, note the preset and member count

Enforcement Note

Advisory in all modes. Bootstrap detects and recommends; it never silently modifies. No skill or setting is installed without explicit user confirmation [H].

Constraints

  • "Never silently installs" [H]: "Override" means the user explicitly says "yes, install X" — not inferred permission from context.
  • AGENTS.md 32 KiB budget: Hard cap, not target. Summarize to fit.

Verification

  • Environment was detected before asking questions
  • Harness capabilities were probed (not assumed)
  • No more than 2-3 questions were asked
  • TDD strategy matched detected capabilities (see Step 4 table)
  • Generated files use managed markers for safe re-runs
  • Task tracking convention is included in generated AGENTS.md
  • Per-skill AGENTS.md contributions were collected and included
  • Nothing was installed without user confirmation

Dependencies

This skill works standalone. It recommends but does not require other skills. It generates configuration that references the tdd skill for TDD workflow.

Download now (ZIP)

  • Other versions69 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 69

    1. bytedance/deer-flow★ 85ksame name
    2. mozilla-mobile/firefox-ios★ 13ksame name
    3. openai/plugins★ 7.4ksame name
    4. modelscope/OpenJudge★ 1ksame name
    5. agentscope-ai/OpenJudge★ 1ksame name
    6. iovisor/ubpf★ 996same name
    7. stophobia/deerflow2.0-enhanced★ 821same name
    8. infragate/capa★ 718same name
    9. EvovexAI/EvoFlow★ 572same name
    10. vercel/vercel-plugin★ 323same name

    59 more not listed

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • Used alongsideProjects with it also use surprise-me, ppt-generation and 10 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.
    • stophobiaSkill

      surprise-me

      Create a delightful, unexpected "wow" experience for the user by dynamically discovering and creatively combining other enabled skills. Triggers when the user says "surprise me" or any request expressing a desire for an unexpected creative showcase. Also triggers when the user is bored, wants inspiration, or asks for "something interesting".

      Also in 3 projects that use this

    • HK-hubSkill

      ppt-generation

      Use this skill when the user requests to generate, create, or make presentations (PPT/PPTX). Creates visually rich slides by generating images for each slide and composing them into a PowerPoint file.

      Also in 3 projects that use this

    • stophobiaSkill

      github-deep-research

      Conduct multi-round deep research on any GitHub Repo. Use when users request comprehensive analysis, timeline reconstruction, competitive analysis, or in-depth investigation of GitHub. Produces structured markdown reports with executive summaries, chronological timelines, metrics analysis, and Mermaid diagrams. Triggers on Github repository URL or open source projects.

      Also in 3 projects that use this

    • HK-hubSkill

      consulting-analysis

      Use this skill when the user requests to generate, create, or write professional research reports including but not limited to market analysis, consumer insights, brand analysis, financial analysis, industry research, competitive intelligence, investment due diligence, or any consulting-grade analytical report. This skill operates in two phases — (1) generating a structured analysis framework with chapter skeleton, data query requirements, and analysis logic, and (2) after data collection by other skills, producing the final consulting-grade report with structured narratives, embedded charts, and strategic insights.

      Also in 3 projects that use this

    • MicrosoftSkill

      podcast-generation

      Generate AI-powered podcast-style audio narratives using Azure OpenAI's GPT Realtime Mini model via WebSocket. Use when building text-to-speech features, audio narrative generation, podcast creation from content, or integrating with Azure OpenAI Realtime API for real audio output. Covers full-stack implementation from React frontend to Python FastAPI backend with WebSocket streaming.

      Also in 3 projects that use this

    • VercelSkill

      vercel-deploy

      Deploy applications and websites to Vercel with a claimable preview. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment". No authentication required - returns preview URL and claimable deployment link.

      Also in 4 projects that use this

    • +1 more from HK-hub
  • In this repository21 other files it gives its agents.

Does it work?

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

Reviews can't be read right now.

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.