agentleFS
donniesilalahidonniesilalahi/cocreation-skills/CLAUDE.md

cocreation-skills

CLAUDE.md0 starsChanged 5 months agoMITView on GitHub

An npm package (@donniesilalahi/cocreation-skills) that ships an ecosystem of co-* Agent Skills for human–AI product co-creation — markdown guides that tell AI helpers how to shape, research, plan, design, build, verify, debug, document, market, and learn. A master skill /cocreator orchestrates the rest and delegates each loop to a doer sub-agent (via the Agent tool, with model overrides). Plain Node.js (ES modules, node:* only), zero dependencies, Node >= 18. Not a workspaces monorepo: each skill under skills/<name>/ is fully self-contained.

The file

We split this CLAUDE.md into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

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

    Not a workspaces monorepo: each skill under skills/<name>/ is fully self-contained.

    line 12

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md 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
CLAUDE.md

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

What this repo is

An npm package (@donniesilalahi/cocreation-skills) that ships an ecosystem of co-* Agent Skills for human–AI product co-creation — markdown guides that tell AI helpers how to shape, research, plan, design, build, verify, debug, document, market, and learn. A master skill /cocreator orchestrates the rest and delegates each loop to a doer sub-agent (via the Agent tool, with model overrides). Plain Node.js (ES modules, node:* only), zero dependencies, Node >= 18. Not a workspaces monorepo: each skill under skills/<name>/ is fully self-contained.

Design docs live in docs/cocreator/: PLAYBOOK.md (principles — the foundation; it wins over any skill on conflict), ROADMAP.md (the loop architecture + skill↔agent roster + model tiers), SSOT.md (the source-of-truth model: per-dimension ownership ladder + STATE.md pointer + the status-in-a-field rule), RESEARCH.md (sources). Read ROADMAP.md before adding or renaming a loop.

Commands

  • npm run validate — scripts/validate-skills.js, enforces SKILL.md rules (below). Run after editing any SKILL.md.
  • npm run update-indices — regenerates every skill's memory-bank/ index table.
  • npm run init — scaffolds a consumer project's .agents/workspace/ boundary and project-owned memory-bank/index files without overwriting records.
  • prepack runs both automatically before publish.

SKILL.md rules (enforced by validate-skills.js)

  • Allowed frontmatter fields ONLY: name, description, license, compatibility, metadata, allowed-tools. Any other field fails validation.
  • name must equal the directory name, be kebab-case (^[a-z0-9]+(-[a-z0-9]+)*$), ≤ 64 chars.
  • description required, ≤ 1024 chars (cover both what it does and when to use it).
  • compatibility ≤ 500 chars.
  • Whole SKILL.md ≤ 500 lines — move longer detail into a references/ subdir.

New skills: copy template/SKILL.md into skills/<name>/, follow the same section layout. Or use /new-skill.

Memory bank pattern

Skills with recall/tracking have skills/<name>/memory-bank/: one UPPERCASE index file (e.g. PLAN.md) whose frontmatter has a columns: spec, individual record .md files, a _template.md, and an index.mjs that regenerates the table from the records (skips _* files). Run the skill's index.mjs, or npm run update-indices for all. Consumer projects resolve this under <workspaceRoot>/skills/, where <workspaceRoot> defaults to .agents and is recorded in .agents/workspace/cocreation.yaml.

Status is a frontmatter status: field — never a folder or filename. The per-status view is generated from the field; record path + filename are stable identifiers that cross-refs (plan:/changelog:/handoffRef) and git history depend on, so moving a file to encode status would break them. "Moved on" = a superseded-by: link (never delete/rename); the only sanctioned physical move is coarse terminal archive/ in a rename-only commit. See docs/cocreator/SSOT.md.

Record files are named YYYY-MM-DD-kebab-title.md (date + what it worked on), with frontmatter title, date, status, and optional cross-refs (plan:, changelog:) linking paired records. colearn lesson records also carry tier: lesson|skill|subagent + a hit-count for the graduation path (recurring lessons get promoted to skills, then sub-agents).

Co-working workspace (human ↔ AI ownership)

The consumer project's resolved workspace root contains workspace/ and skills/. Inside workspace/, raw/ is human-owned — the AI reads it as the source of truth and never writes there (briefs, references, source data). Everything else is the AI's — the rest of workspace/ (AI working area / output) and every skills/<name>/memory-bank/. Loop records may point at a raw/ input and the output they produced, keeping the co-working trail explicit. .agents/workspace/cocreation.yaml records the storage mode, product location, and optional shared root. STATE.md (AI-owned) is the project-state pointer — the current SSOT artifact + last loop run + verdict — read first by every loop and updated on exit (template: skills/cocreator/references/STATE.template.md; design: docs/cocreator/SSOT.md). inbox/ (AI-owned) is the human↔agent handoff queue — typed asks (decision/action/review) each with a recommended default; the agent parks/placeholders rather than stalling, and a completion gate resurfaces every stub before shipping (templates in references/; design in SSOT.md § Human handoff). Run npx @donniesilalahi/cocreation-skills init to scaffold this boundary without overwriting records.

Release flow

CI (.github/workflows/publish.yml) publishes to npm on every push to main, but only if package.json version is new. So: bump the version in package.json as part of the PR that ships a change. Don't push to main without a bump if you intend to release.

Git workflow

Work on a feature branch and open a PR — don't commit directly to main. Commit messages use Conventional Commits (feat:, fix:, docs:, ci:, refactor:).

Gotchas

  • .githooks/pre-commit (dev hook) auto-runs update-indices and git adds changed memory-bank/ index files. The installer cli.js sets up an equivalent hook in consumer projects.
  • Installed skills live at .agents/skills/ (project) or ~/.agents/skills/ (global) — NOT skills/ (that's the source layout in this repo).
  • Installer flags: --update refreshes SKILL.md but preserves memory-bank/; --force overwrites everything including notes.
  • .claude-plugin/marketplace.json lists skills for plugin discovery — keep it in sync when adding/removing a skill.

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.