agentleFS
NemesLaszloNemesLaszlo/Agent-Collection/.claude/skills/start-work/SKILL.md

start-work

Skill1 starsChanged 6 days agoMITView on GitHub

Use at the start of any code change, before the first edit ("add X", "fix Y", "let's do the S3 permission issue", "pick up the plan in _Plans/..."), and when resuming work from a _Plans folder. Reads the state of every repo in the workspace, checks nothing else is in flight, sizes the change, and for anything non-trivial gets a plan written into _Plans/<topic>-YYYY-MM/, reviewed with review-plan and approved by the owner before code starts.

21 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 15 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

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

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

    Resume or start: If the task names a _Plans folder, or one under _Plans/ (not _Done/) clearly matches it, read its HANDOFF.md first, then …

    line 22
  2. Very specific:

    Hand over to the build: write HANDOFF.md (state, next step), then say how to execute, with a recommendation: /implement <plan folder> for …

    line 45
  3. Distinctive:

    Create, switch or delete branches, stash, reset, commit or push.

    line 57
  4. Very specific:

    Keep a plan only in the conversation: the plan is _Plans/<folder>/PLAN.md.

    line 59

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

Start a change

Gets a change to the point where code can start: the repos checked, the size decided, and for anything non-trivial a plan written, reviewed and approved. finish-work closes it. Work happens on the branch each repo is on (usually its default branch); nothing here creates branches, commits or pushes (AGENTS.md, How a change lands).

Task: $ARGUMENTS

Repo state

!bash .claude/scripts/repos.sh 2>/dev/null || echo "run from the workspace root: .claude/scripts/repos.sh not found"

Touch points, in order

  1. Resume or start. If the task names a _Plans folder, or one under _Plans/ (not _Done/) clearly matches it, read its HANDOFF.md first, then PLAN.md and DECISIONS.md, and continue from the handoff's next step. Decisions in DECISIONS.md are not reopened.
  2. Check the repos above:
    • a repo the task touches has uncommitted changes that are not this task's: stop and ask. Another session or the owner may be mid-task, and the working tree may be the only copy.
    • a repo is behind its upstream: git -C <repo> fetch and say so; pull only when the owner says so.
    • a repo is on a branch that is not its default: work there (the owner chose it), and say so once.
    • an open plan under _Plans/ touches the same files: name it and ask how they relate.
  3. Read before sizing: the code the task touches, the tests that cover it, the sub-repo CLAUDE.md, the hard invariants in AGENTS.md, and REVIEW.md. Never plan from memory of the code.
  4. Size it, and say which and why in one line:
    • small: one repo, a few files, no schema, no contract, no auth or permission change, nothing on a sensitive area (REVIEW.md). No plan; build it directly, then review-code and finish-work.
    • plan: anything else. When unsure, plan; recommend it for anything that touches a contract, a migration, a sensitive area or more than one repo.
  5. Write the plan (plan size): create _Plans/<topic>-YYYY-MM/ and run plan-feature with the task, the folder path and what step 3 found. It writes PLAN.md from plan-template.md (this folder). Ask the owner the open questions it raises, one decision at a time, as options with a recommendation, and record each answer in DECISIONS.md and the plan's Decisions table.
  6. Review the plan with review-plan until its verdict is approved.
  7. Owner approval. Give the plan's path, the review verdict and the decisions it still needs, and ask the owner to approve. No code before a yes. Then set status: approved and approved_at in the frontmatter.
  8. Hand over to the build: write HANDOFF.md (state, next step), then say how to execute, with a recommendation: /implement <plan folder> for several tasks (one builder agent per task), or directly in this session for one or two tasks.

Done means

  • The repos were checked and nothing in flight was overwritten.
  • A small change is named small with the reason; a planned change has an approved PLAN.md with its plan review.

Never

  • Edit code before the size is decided, or before the plan is approved.
  • Create, switch or delete branches, stash, reset, commit or push.
  • Plan from memory of the code instead of reading it.
  • Keep a plan only in the conversation: the plan is _Plans/<folder>/PLAN.md.

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.