agentleFS
VercelKnown publishervercel-labs/ds-skill-extraction-workshop/.claude/skills/do-work/SKILL.md

do-work

Skill10 starsChanged 6 months agoMITView on GitHub

Execute a unit of work end-to-end: understand, implement, validate with typecheck and build, then commit. Use when the user wants to do work, build a feature, fix a bug, or implement an issue or phase from a plan. Do NOT use for design-system skill extraction — that flow has its own meta-skill (extract-ds-skill).

3 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

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

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 5

    Distinctive

    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. Distinctive:

    Read any referenced plan, PRD, or GitHub issue body in full.

    line 14
  2. Very specific:

    If the task touches a design system surfaced under .claude/skills/ds/, that skill's SKILL.md is the source of truth for component …

    line 17
  3. Distinctive:

    If the task is ambiguous, ask the user to clarify scope before proceeding.

    line 21
  4. Very specific:

    If a pre-existing failure outside the scope of this task blocks you, make the minimal fix to unblock and call it out explicitly in the …

    line 54
  5. Distinctive:

    If the task originated from a GitHub issue, close the issue with a one-line outcome:

    line 65
  6. Distinctive:

    If the task only partially resolves the issue, comment on it instead of closing:

    line 72
  7. Distinctive:

    Override: if the prompt or issue body explicitly says the issue is a shared spec (workshop, template, recurring fixture), do NOT close or …

    line 79

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

Do Work

Execute a complete unit of work: understand it, build it, validate it, commit it.

Workflow

1. Understand the task

Read any referenced plan, PRD, or GitHub issue body in full. Explore the codebase to understand the relevant files, patterns, and conventions.

If the task touches a design system surfaced under .claude/skills/ds/, that skill's SKILL.md is the source of truth for component selection, token usage, and wiring rules — read it before writing code.

If the task is ambiguous, ask the user to clarify scope before proceeding. Do not guess at scope.

2. Plan the implementation (optional)

Skip when the task is already fully specified end-to-end (e.g., a locked-down issue body). Plan when scope is open, when you have multiple viable approaches, or when the task spans more than a couple of files.

3. Implement

This is a frontend-only workshop — implement directly. No TDD scaffolding.

Edit code directly. Do not delegate via subagents unless the task genuinely splits into independent parallel pieces.

4. Validate

Run:

pnpm verify

This runs pnpm typecheck && pnpm build. Fix any failures and re-run until both pass cleanly.

Husky's pre-commit hook also runs pnpm typecheck as a backstop — but the build check lives here. Do not rely on the hook to catch build failures, and do not commit without pnpm verify passing.

If a pre-existing failure outside the scope of this task blocks you, make the minimal fix to unblock and call it out explicitly in the commit message under a "Pre-existing fix" section. Never bypass the hook with --no-verify.

5. Commit

Once pnpm verify passes, commit the work in ONE commit. Use the project's commit message style — read git log --oneline -n 10 if unsure.

If the task originated from a GitHub issue, close the issue with a one-line outcome:

gh issue close <N> --comment "<one-line outcome of what shipped>"

If the task only partially resolves the issue, comment on it instead of closing:

gh issue comment <N> --body "<what was done, what remains>"

Override: if the prompt or issue body explicitly says the issue is a shared spec (workshop, template, recurring fixture), do NOT close or comment — stop after the commit. The issue stays open for the next runner.

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.