agentleFS
NagiliantNagiliant/Genesis-Legacy-V2/skills/genesis-init/SKILL.md

Init

Skill2 starsChanged 5 months agoApache-2.0View on GitHub

Initialize Genesis Spec-Kit in a project — scaffold .genesis/ and determine the project mode (greenfield, brownfield, lowfield). Use when setting up the kit for the first time.

137 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use daily-arxiv, exp-eval 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.
  • LambenthanSkill

    daily-arxiv

    每日从 arXiv 拉取新论文,过滤相关性,auto-ingest 高优先级论文,检测 SOTA 更新

    Also in 5 projects that use this

  • LambenthanSkill

    exp-eval

    实验判决门:Review LLM 独立评判实验结果 → 4 种判决路径 → 自动更新 claims confidence、ideas status、graph edges

    Also in 5 projects that use this

  • skyllwtSkill

    exp-pilot-eval

    Pilot result evaluation — read pilot results, apply success criteria, update idea page (pilot_result, failure_reason if failed), generate PILOT_VERDICT_REPORT. Called by /ideate Phase 5 after /exp-pilot-run.

    Also in 4 projects that use this

  • skyllwtSkill

    exp-pilot-run

    Pilot experiment execution — read Pilot Spec YAML, write pilot code, run experiment(Confirm with the user before operation and require the applicant to conduct manual inspection), return results. Called by /ideate Phase 5. Does NOT modify wiki pages or judge pass/fail.

    Also in 4 projects that use this

  • gaebalaiSkill

    codex-system

    PROACTIVELY consult Codex CLI, your highly capable supporter with exceptional reasoning and task completion abilities. Codex is a trusted expert you should ALWAYS consult BEFORE making decisions on: design choices, implementation approaches, debugging strategies, refactoring plans, or any non-trivial problem. When uncertain, consult Codex. Don't hesitate - Codex provides better analysis. Explicit triggers: "think deeper", "analyze", "second opinion", "consult codex".

    Also in 3 projects that use this

  • +6 more from Lambenthan
  • +1 more from skyllwt

The file

We split this skill into the rules it gives an agent

11 rules. 0 are common, 3 are distinctive, and 8 are very specific to this project.

  • 0

    Common

    Most of the 125 edited versions we read keep these.

  • 3

    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. Very specific:

    Check for an existing install: If .genesis/ already exists, ask whether to reinitialize (overwrite kit system files, preserve all user …

    line 13
  2. Very specific:

    Determine the mode: If --mode is given, use it.

    line 15
  3. Very specific:

    Git: if no repo exists, git init and write a .gitignore.

    line 49
  4. Very specific:

    Brownfield: run the codebase scan from discovery-brownfield.md and pre-populate the discovery findings.

    line 55
  5. Very specific:

    Lowfield: use the content-oriented templates.

    line 56
  6. Very specific:

    MUST NOT modify any existing non-kit files (no edits to package.json, source files, etc.).

    line 60
  7. Distinctive:

    MUST NOT run builds, tests, or install dependencies.

    line 61
  8. Very specific:

    MUST NOT create files outside .genesis/, .claude/, and CLAUDE.md.

    line 62
  9. Distinctive:

    MUST preserve all user artifacts on reinitialize.

    line 63
  10. Distinctive:

    MUST commit only kit scaffolding, never unrelated changes.

    line 64
  11. Very specific:

    Run /genesis-constitute to establish the project's constitution.

    line 68

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

Init — Scaffold Genesis Spec-Kit

Set up the kit's file-backed scaffolding in a project and establish its mode. Everything the kit does afterward reads from the files this step creates.

Process

  1. Check for an existing install. If .genesis/ already exists, ask whether to reinitialize (overwrite kit system files, preserve all user artifacts) or stop. On reinitialize, preserve: constitution/, project-state.md, discovery/, design/, features/.
  2. Determine the mode. If --mode is given, use it. Otherwise scan the directory and recommend:

    • Empty (only .git) → Greenfield — a new project from scratch.
    • Files present → Brownfield — an existing codebase needing structure.
    • Lowfield — a content or creative project (novel, research corpus, knowledge base). Lowfield is always an explicit choice, never auto-detected.

    Present all three and let the user confirm.

  3. Resolve the project name from package.json / Cargo.toml / pyproject.toml / etc., or ask.
  4. Create the directory structure:
    .genesis/
    ├── constitution/          # supreme law (populated by /genesis-constitute)
    ├── discovery/             # project profile (populated by /genesis-discover)
    ├── design/                # project-level design docs
    │   ├── technical/
    │   ├── user-journeys/
    │   ├── systems/
    │   └── decisions/         # ADRs
    ├── features/              # per-feature artifacts
    ├── templates/             # copied from the kit
    ├── hooks/                 # optional git hooks
    ├── furnace.json           # deferred-idea backlog (starts empty)
    └── project-state.md       # the live state file
  5. Copy the kit templates into .genesis/templates/ (constitution, spec, micro-spec, feature-design, north-star, discovery-{greenfield,brownfield,lowfield}, design-inputs).
  6. Seed furnace.json: { "entries": [] }.
  7. Write project-state.md from the template: project name, mode, init date, current phase Initialized, and empty sections for Active Features, Completed Features, Key Decisions, Constitutional Amendments, Open Questions, Blockers.
  8. Generate or update CLAUDE.md with: the project name, the mode, an instruction to read the constitution and project-state.md at session start, and a one-line command reference pointing at /genesis-help.
  9. Git: if no repo exists, git init and write a .gitignore. Stage only the kit scaffolding and commit: genesis: initialize spec-kit scaffolding.
  10. Print a mode-specific welcome with next steps (constitute → discover → brainstorm).

Mode additions

  • Brownfield: run the codebase scan from discovery-brownfield.md and pre-populate the discovery findings; note brownfield audit-scoping rules (audits scoped to changed files; findings classified inherited vs introduced).
  • Lowfield: use the content-oriented templates; the work-unit registry is built later by /genesis-discover.

Constraints

  • MUST NOT modify any existing non-kit files (no edits to package.json, source files, etc.).
  • MUST NOT run builds, tests, or install dependencies.
  • MUST NOT create files outside .genesis/, .claude/, and CLAUDE.md.
  • MUST preserve all user artifacts on reinitialize.
  • MUST commit only kit scaffolding, never unrelated changes.

Next step

Run /genesis-constitute to establish the project's constitution.

Natural language triggers

- "initialize genesis"
- "set up the spec kit"
- "start a new project"
- "onboard this project"

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.