agentleFS
opencueopencue/cuecards/.agents/skills/project-initializer/SKILL.md

project-initializer

Skill10 starsChanged 4 months agoMITView on GitHub

Initializer agent for the project-level harness — turn a spec or issue into feature_list.json, init.sh, verify.yaml, and an initial commit.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

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

    Use exactly once per project, when session_mode == feature_loop and .agx/project/ does not yet exist (system prompt will say "Initializer …

    line 15
  2. Very specific:

    Read the spec end-to-end: Use file_read if the user pointed at a file, otherwise capture the user's message as the source of truth.

    line 24
  3. Distinctive:

    Keep this commit small — only harness files, no business code.

    line 43

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “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

Project Initializer

Use exactly once per project, when session_mode == feature_loop and .agx/project/ does not yet exist (system prompt will say "Initializer 阶段").

Inputs

  • A spec markdown, GitHub issue, or natural-language feature description.
  • The repo root (workspace_dir or first non-default taskspace).

Steps

  1. Read the spec end-to-end. Use file_read if the user pointed at a file, otherwise capture the user's message as the source of truth.
  2. Decompose into ≥ 5 deliverables. Each feature must:
    • have a stable id (kebab-case, ≤ 32 chars),
    • be independently mergeable (its commit can land on main without breaking others),
    • declare 1–3 concrete acceptance_criteria (observable behavior, not implementation steps),
    • declare depends_on only for hard ordering constraints,
    • get an integer priority (lower = sooner; reserve 100 for "later").
  3. Call project_init with the full feature list. The tool writes feature_list.json, seeds status.json with phase=initialize, and drops template init.sh + verify.yaml.
  4. Customize init.sh via bash_exec (or file_write with the diff path = .agx/project/init.sh):
    • install language runtime / package manager dependencies,
    • apply migrations / generate seed data,
    • must be idempotent (running twice on the same machine should not break anything).
  5. Customize verify.yaml with the project's real test/lint commands. Keep the bootstrap step that runs init.sh.
  6. Smoke-run with verify_run (no feature_id) to confirm the initial gate is green on a clean checkout.
  7. Commit the harness files via bash_exec:
    git add .agx/project init.sh verify.yaml
    git commit -m "chore(project): initialize harness with N features"
    Keep this commit small — only harness files, no business code.
  8. Append a closing progress note with progress_append (e.g. "[initialize-done] commit=<sha> features=N") and tell the user the project is ready for a Coding session.

Forbidden

  • Editing business code in this session.
  • Selecting or completing a feature — that is the Coding phase's job.
  • Hardcoding secrets in init.sh or verify.yaml.

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.