agentleFS
WhorideChickenWhorideChicken/first-playable/skills/bootstrap/SKILL.md

bootstrap

Skill3 starsChanged 4 months agoMITView on GitHub

Safely sets up a Unity 6 project for the FirstPlayable workflow — preflight checks, folder structure, scenes, asmdefs, and a project CLAUDE.md. Always dry-runs first. Use when the user says /first-playable:bootstrap.

46 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use tasks, plan and 8 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.
  • genomewalkerSkill

    tasks

    Browse and resume tasks, threads, and background jobs across sessions

    Also in 3 projects that use this

  • BlockSkill

    plan

    Draft a TDD, PRD, or lightweight plan in the conversation without committing it.

    Also in 5 projects that use this

  • SentrySkill

    review

    Fixture review skill.

    Also in 7 projects that use this

  • ElasticSkill

    create-skill

    Interactively create a new Claude Code skill and add it to the elastic-docs-skills catalog. Use when the user wants to generate a new skill, scaffold a slash command, or build automation for docs tasks.

    Also in 3 projects that use this

  • Microsoft AzureSkill

    reflect

    Learning capture system that extracts HIGH/MED/LOW confidence patterns from conversations to prevent repeating mistakes. Use after user corrections ("no", "wrong"), praise ("perfect", "exactly"), or when discovering edge cases. Complements .squad/agents/{agent}/history.md and .squad/decisions.md.

    Also in 3 projects that use this

  • SentrySkill

    spec

    Produce a verified spec — problem, desired outcome, and acceptance criteria — before building. Use when given a GitHub/Linear issue link, when starting from a fuzzy in-conversation idea, or asked to "figure out what to do" / "scope this" / "what should I build" — whenever the *what* isn't yet pinned down. Grills the ambiguities, checks the premise against the code, and produces acceptance criteria you sign off on — then hands to design-first.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 2 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 41 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

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

    Before doing real work, read references/unity-setup.md in this plugin — it has the detailed editor-settings checks, asmdef dependency …

    line 12
  2. Distinctive:

    Never overwrite an existing file without explicit consent.

    line 22
  3. Very specific:

    Never touch Assets/ThirdParty originals, never delete or regenerate .meta files, never remove packages.

    line 25
  4. Distinctive:

    Test Framework package present?

    line 37
  5. Very specific:

    PlayerSettings.runInBackground must be true: When the Editor is not focused — which is *always* the case while an agent drives it over …

    line 46
  6. Very specific:

    Ask which mode fits (default Standard):

    line 60

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

Unity Project Bootstrap

You are running Phase 4 of the FirstPlayable workflow: preparing a Unity project. Safety over convenience — this skill must be idempotent and must never destroy existing work.

Before doing real work, read references/unity-setup.md in this plugin — it has the detailed editor-settings checks, asmdef dependency rules, package guidance, scene-creation fallbacks, and the idempotency checklist. Ready-made asmdef JSON files, a Unity .gitignore, and the PROJECT_STATUS.md template are in templates/unity/.

Hard rules

  • Show the full plan of changes (dry-run) and get user approval before creating or modifying anything.
  • Never overwrite an existing file without explicit consent.
  • Modify Scenes and Prefabs only through Unity MCP or Editor API — never edit Unity YAML directly.
  • Never touch Assets/ThirdParty originals, never delete or regenerate .meta files, never remove packages.
  • Re-running bootstrap on an already-bootstrapped project must be a no-op plus a report of what already exists.

Preflight checks

Report each as pass/fail/unknown before proposing changes:

  • Is this a Unity project? Which Unity version? (target: Unity 6)
  • Render pipeline (Built-in / URP / HDRP)
  • Input System package present?
  • Test Framework package present?
  • Cinemachine in use?
  • Git repository and a Unity-appropriate .gitignore?
  • Editor settings: Visible Meta Files, Asset Serialization = Force Text
  • Unity MCP connection available?
  • Existing scenes and asmdefs that could conflict

Blocking checks (fix these, don't just warn)

PlayerSettings.runInBackground must be true. When the Editor is not focused — which is always the case while an agent drives it over MCP — play mode does not advance frames. Every runtime observation then silently reports stale values, and verification reports come out confidently wrong. Set it, confirm by reading it back, and record it in Docs/PROJECT_STATUS.md.

Install the play-mode marker. Copy templates/unity/PlayModeMarker.cs to Assets/_Game/Scripts/Editor/PlayModeMarker.cs. It writes Temp/firstplayable_playmode during play mode so the unity-guard hook can block script edits that would otherwise deadlock the MCP bridge (deferred recompile ⇄ isCompiling guard — only a human pressing Stop breaks it).

Project modes

Ask which mode fits (default Standard):

ModeForStructure
Prototypegame jams, quick validationminimal folders, single asmdef, minimal docs
Standardsolo / small teamCore, Gameplay, Presentation, Tests split
Modularlong-term / teamper-feature module asmdefs

What gets created (Standard)

Assets/
├─ _Game/
│  ├─ Art/  Audio/  Configs/  Prefabs/
│  ├─ Scenes/
│  │  ├─ Bootstrap/      # init & shared services
│  │  ├─ Gameplay/       # FirstPlayable scene lives here
│  │  └─ Test/           # Sandbox + automated/manual verification
│  ├─ Scripts/
│  │  ├─ Core/  Gameplay/  Presentation/  Infrastructure/  Editor/
│  └─ Tests/
│     ├─ EditMode/
│     └─ PlayMode/
└─ ThirdParty/

Plus, at the project root:

  • CLAUDE.md — project rules (source-of-truth order, Unity rules, verification checklist). Use this plugin's templates/CLAUDE.project.md as the base. If a CLAUDE.md already exists, propose a merged diff instead of replacing it.
  • Docs/PROJECT_STATUS.md — current phase, what is playable, what is next.
  • Assets/_Game/Scripts/Editor/PlayModeMarker.cs — from templates/unity/PlayModeMarker.cs (see Blocking checks above).

Completion

Done when the structure exists, preflight issues are either fixed or explicitly accepted by the user, and CLAUDE.md is in place. Then suggest /first-playable:feature <first-feature> following Docs/Design/DEVELOPMENT_ORDER.md.

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.