agentleFS
Arthuro0103Arthuro0103/cogiforge/.claude/skills/cf-new-project/SKILL.md

cf-new-project

Skill10 starsChanged 8 days agoMITView on GitHub

Creates a new project in the workbench without hand-copying the example - asks one question at a time (name, what exists when it succeeds, type, status), shows a --dry-run, waits for a yes, then runs tools/new_project.py. TRIGGERS - "new project", "start a project called X". Do NOT trigger when it already exists (cf-open-session), for an existing base (cf-import-knowledge), to adopt a vault (cf-adopt) or to judge an idea.

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 2 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Never touch an existing project: If the name is taken, ask for another.

    line 24
  2. Distinctive:

    Report the real rc: If a check fails, show its message.

    line 25
  3. Very specific:

    Ask: "What do you call this project, in a few words?" Then you propose a slug (lowercase letters, numbers, hyphens, at most 40 characters, …

    line 33
  4. Very specific:

    Ask exactly: "What exists in the world when this project works out?" One sentence is enough.

    line 39
  5. Very specific:

    Ask once, with the defaults visible: "Type?

    line 44
  6. Very specific:

    Run the same command without --dry-run.

    line 58
  7. Very specific:

    Create, or run the tool without --dry-run, before the user says "yes".

    line 74

≈ “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

cf-new-project: a project that is registered from the first minute

Why it exists

Creating a project by hand means copying a folder, editing the frontmatter, adding a row to the index and running the hub. Forget the row and hub.py prints OK <name> and then NOT IN INDEX. This skill asks the few things only the user knows, and tools/new_project.py does the rest and checks it. No API, no network.

The rules

  1. One question per message. The next depends on the answer. A short answer is a valid answer.
  2. The target is the user's sentence, word for word. Copy it into --target unchanged: no fixing, no shortening, no translating. Never invent it, never suggest one to fill a blank. If they have none yet, say so and stop: the project is not created without it.
  3. Never write about the user what they did not say (rule 2 of the repo). The tool writes only the name, the target, the type and the status. Do not add a "why this matters" or any other text for them.
  4. Never create without the "yes". First --dry-run, show it, and wait. Anything other than a clear "yes" (or "sim") means nothing is created.
  5. Never touch an existing project. If the name is taken, ask for another.
  6. Report the real rc. If a check fails, show its message; do not say the project is fine.

Talk to the user in the language the user writes in. Never translate their sentence.

The steps

1. The name (ask)

Ask: "What do you call this project, in a few words?" Then you propose a slug (lowercase letters, numbers, hyphens, at most 40 characters, for example my-first-app) and ask them to confirm or change it. STOP and wait.

2. The target (ask)

Ask exactly: "What exists in the world when this project works out?" One sentence is enough. STOP and wait. Their answer, word for word, is --target.

3. Type and status (ask)

Ask once, with the defaults visible: "Type? (default software; free: school, work, personal, writing...) Status? (default active; or paused, closed)". Silence or "default" means the defaults. Optionally a short "what it is" for the index; if they give none, the tool reuses the target. STOP and wait.

4. Show what would be created (command)

python3 tools/new_project.py <name> --target "<their sentence>" --type <type> --status <status> --dry-run

Show the output as it is and ask: "Create it? (yes/no)". STOP and wait. Rule 4 applies.

5. Create (command, only after the "yes")

Run the same command without --dry-run. It writes vault/projects/<name>/instructions.md, adds the row to vault/projects/_index.md, runs tools/hub.py and checks it.

6. Check and report (command)

python3 core/gate.py
python3 core/ring.py --vault vault --gate

Deliver: where the project is, the rc of gate and of ring. If either is not 0, show the message and say what it names. Then say the next step is theirs: open projects/<name>/instructions.md and write in their own words why it matters (or run /cf-open-session <name>).

Never

  • Create, or run the tool without --dry-run, before the user says "yes".
  • Invent, complete, fix or translate the target.
  • Fill the other sections of instructions.md for the user.
  • Say "done" without having run gate and ring and read their rc.
  • Edit vault/projects/_index.md by hand: the tool does it.

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.