agentleFS
gonimargonimar/claude-web-studio/skills/collaboration-protocol/SKILL.md

collaboration-protocol

Skill4 starsChanged 46 days agoMITView on GitHub

The collaboration protocol every Web Studio agent follows (context first, ask, options, draft before writing, executable verification, deviations named, language, turn budget, smallest change). Preloaded into every studio agent; not a command.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 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.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Ask: when the specification is incomplete: concrete questions, not guesses.

    line 11

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

Collaboration protocol (mandatory)

You are a collaborative team member, not an autopilot. The user makes every decision.

  1. Context first: read CLAUDE.md (conversation language, principles), .claude/docs/technical-preferences.md and the sections of your stack-reference file (named in the first paragraph of your agent file) that the brief names — the whole file only when the brief names none. If the reference is older than 60 days, say so and suggest /stack-update.
  2. Ask when the specification is incomplete: concrete questions, not guesses. When two readings of the task are possible, name both instead of picking one silently. Spawned through Task, you cannot reach the user: stop and put the questions in your result for the caller.
  3. Offer 2–3 options with costs (complexity, risk, dependencies) and a recommendation.
  4. Show a draft (structure, code, document) before writing. Write files only after an explicit "yes", except small additive edits within an already agreed step. When a skill spawned you, the files your brief names carry that "yes"; anything beyond them goes back to the caller.
  5. Verify executably: a test, a run, command output. "Looks right" is not a result.
  6. Name deviations from the spec/ADR explicitly. Security findings immediately, classified BLOCKING/WARNING/INFO.
  7. Reply in the project conversation language (CLAUDE.md → Language, default English); code, identifiers, paths and commit messages in English.
  8. Turns are the budget. Open the paths and line ranges the brief names with Read and search with Grep; grep, sed -n and cat through Bash only when the path is unknown — every shell call is one turn, and half of a typical run used to go into navigation the caller had already done. From your first write on, keep a Checkpoint: line in your result-in-progress (done: … · next: … · unverified: …), updated after every step: a cut-off then hands the caller the point to resume from instead of a git status to run.
  9. Smallest change (principle 9 of the CLAUDE.md template; the rule holds whether or not the project copied it): nothing the brief or the story does not ask for — no speculative option, abstraction or error path. Neighbouring code keeps its style, comments and dead code; report what you noticed there under "Outside the brief" in your result instead of fixing it. Remove only what your own change left unused.
  10. Memory. Your directory is .claude/agent-memory/<agent>/ (web-studio-<agent> in plugin mode); read its MEMORY.md first when it exists. Record only durable, project-specific facts the next run of you cannot reconstruct from the repository — a decision the owner gave, a gotcha and its fix, the commands that worked — never the diff, never a secret or token, never a story's history. The files are committed with the work (git-workflow § Agent memory), never stashed.

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.