agentleFS
telefrektelefrek/vallorcine/skills/work/SKILL.md

work

Skill0 starsChanged 7 months agoMITView on GitHub

Create a work group for coordinating multi-feature work

21 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use docs, review and 4 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • Microsoft AzureSkill

    docs

    Also in 5 projects that use this

  • SentrySkill

    review

    Fixture review skill.

    Also in 6 projects that use this

  • GitHubSkill

    refactor

    Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.

    Also in 3 projects that use this

  • AnthropicSkill

    debug

    Structured debugging session — reproduce, isolate, diagnose, and fix. Trigger with an error message or stack trace, "this works in staging but not prod", "something broke after the deploy", or when behavior diverges from expected and the cause isn't obvious.

    Also in 3 projects that use this

  • AWSSkill

    ship

    Finalize dev work on an issue branch — update docs, push, and open a PR.

    Also in 3 projects that use this

  • BlockSkill

    plan

    Draft a TDD, PRD, or lightweight plan in the conversation without committing it.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

11 rules. 0 are common, 9 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 17 edited versions we read keep these.

  • 9

    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:

    Use this when work spans multiple features, requires ordering, or benefits from interface contracts between work definitions.

    line 12
  2. Very specific:

    Check if .work/<group-slug>/ exists

    line 23
  3. Very specific:

    If it exists and work.md is present:

    line 24
  4. Distinctive:

    Use AskUserQuestion with options:

    line 31
  5. Distinctive:

    If directory does not exist: proceed to Step 0.

    line 35
  6. Distinctive:

    Read silently before asking anything:

    line 56
  7. Distinctive:

    Read the goal and privately identify unknowns across:

    line 71
  8. Distinctive:

    Use AskUserQuestion with typed options where choices are enumerable

    line 86
  9. Distinctive:

    After each answer, update your internal model — skip questions the answer already covers

    line 88
  10. Distinctive:

    Default rule: before any AskUserQuestion whose options have non-trivial consequences (architecture, scope boundary, dependency model), …

    line 99
  11. Distinctive:

    If "Revise": apply changes and re-present.

    line 149

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

/work "<goal>"

Creates a work group — a named collection of work definitions that share a larger goal. Work groups coordinate multi-feature work with artifact-based dependencies and computed readiness.

Use this when work spans multiple features, requires ordering, or benefits from interface contracts between work definitions.

For standalone single-feature work, use /feature instead — no work group needed.


Idempotency pre-flight (ALWAYS FIRST)

  1. Generate group-slug from the goal (kebab-case, max 40 chars)
  2. Check if .work/<group-slug>/ exists
  3. If it exists and work.md is present:
    ───────────────────────────────────────────────
    📋 WORK GROUP · <group-slug>
    ───────────────────────────────────────────────
    Work group '<group-slug>' already exists.
    Use AskUserQuestion with options:
    • "View status" → invoke /work-status "<group-slug>"
    • "Decompose into work definitions" → invoke /work-decompose "<group-slug>"
    • "Stop"
  4. If directory does not exist: proceed to Step 0.

Step 0 — Parse and create directory

  • Extract the goal description
  • Generate group-slug in kebab-case
  • Create .work/<group-slug>/ directory

Display opening header:

───────────────────────────────────────────────
📋 WORK GROUP · <group-slug>
───────────────────────────────────────────────

Step 1 — Read existing context

Read silently before asking anything:

  1. .work/CLAUDE.md — check for related active work groups
  2. .kb/CLAUDE.md — scan topic map for relevant domains
  3. .decisions/CLAUDE.md — check for related active/deferred decisions
  4. .spec/CLAUDE.md — check for existing specs in relevant domains

Step 2 — Scoping interview

The goal is to establish clear boundaries for the work group. Ask questions across these dimensions using AskUserQuestion for each:

Pre-interview analysis (internal — do not display)

Read the goal and privately identify unknowns across:

DimensionWhat to resolve
ScopeWhat is the full extent of the change? What is explicitly excluded?
BoundariesWhere are the natural seams between independent work units?
OrderingAre there hard ordering constraints (A must complete before B)?
Shared surfacesWill multiple work definitions need to agree on interfaces?
DependenciesWhat existing specs, ADRs, or KB entries does this work assume?
Success criteriaHow do we know the work group is complete?

Questioning rules

  • Collapse knowns: if the goal description answers a dimension, skip it
  • Maximum 4 questions total — batch related dimensions into compound questions
  • Use AskUserQuestion with typed options where choices are enumerable
  • One question at a time, wait for the answer before the next
  • After each answer, update your internal model — skip questions the answer already covers

Lead with tradeoff analysis when the choice is non-obvious

AskUserQuestion presents options with short labels and one-sentence descriptions. That works when the user can pick from labels alone. It does NOT work when the choice has implications the user can't see in a sentence — they'll either pick the wrong option or come back asking "what's the tradeoff?", forcing a retrofit.

Default rule: before any AskUserQuestion whose options have non-trivial consequences (architecture, scope boundary, dependency model), present the tradeoff analysis FIRST as prose, then call AskUserQuestion.

Concretely, the message preceding the AskUserQuestion should:

  • Name each option's blast radius and reversibility
  • Surface non-obvious second-order effects (e.g., "option B touches shared types; option A doesn't")
  • Note industry precedent if relevant
  • Make a recommendation if you have a defensible one, but frame it as the user's call, not yours

This is more text than a bare AskUserQuestion. That's intentional. A user who picks an option without understanding the tradeoff is worse off than a user who reads two paragraphs and chooses correctly.

Skip the tradeoff prelude only when the choice is genuinely simple (e.g., "kebab-case slug okay?" — yes/no, no second-order effects).


Step 3 — Confirm work group scope

Present the scope summary:

## Work Group: <group-slug>

**Goal:** <one sentence>

**In scope:**
- <bullet points>

**Out of scope:**
- <bullet points>

**Known ordering constraints:**
- <bullet points, or "none identified yet">

**Shared interfaces expected:**
- <bullet points, or "none identified yet">

**Success criteria:**
- <bullet points>

Use AskUserQuestion with options:

  • "Looks good"
  • "Revise" (with Other for specific changes)

If "Revise": apply changes and re-present.


Step 4 — Write work group files

4a — Write work.md

Write .work/<group-slug>/work.md:

---
group: <group-slug>
goal: <one sentence goal>
status: active
created: <YYYY-MM-DD>
# Optional — declare cross-group blockers. Every WD in this group is
# reported BLOCKED by scripts/work-resolve.sh until every listed group
# reaches required_state=COMPLETE. Add only if seam analysis surfaces
# a cross-group dependency; leave out otherwise.
# external_deps:
#   - { type: group, ref: "<other-group-slug>", required_state: COMPLETE }
---

## Goal
<goal description>

## Scope
### In scope
<bullet points>

### Out of scope
<bullet points>

## Ordering Constraints
<bullet points or "None identified.">

## Shared Interfaces
<bullet points or "None identified yet — will be discovered during decomposition.">

## Success Criteria
<bullet points>

4b — Write manifest.md

Write .work/<group-slug>/manifest.md:

# Work Group Manifest: <group-slug>

**Goal:** <one sentence>
**Status:** active
**Created:** <YYYY-MM-DD>
**Work definitions:** 0

## Work Definitions

| WD | Title | Status | Domains | Deps | Produces |
|----|-------|--------|---------|------|----------|

## Dependency Graph

(empty — populate with /work-decompose)

4c — Update .work/CLAUDE.md index

Append rows to both the "Active Work Groups" table and the "Recently Added" log via the index helper:

bash .claude/scripts/work-index.sh add "<group-slug>" "<goal>"

The script writes both rows atomically and is idempotent — if a row already exists for the slug it falls through to a count refresh instead of duplicating. Do not edit .work/CLAUDE.md by hand here; column-shape drift between hand-edits and other call sites breaks the table for /work-status and the index helper alike.


Step 5 — Next steps

Work group '<group-slug>' created.

Files:
  .work/<group-slug>/work.md       — scope and success criteria
  .work/<group-slug>/manifest.md   — work definition registry

Next: decompose this into work definitions:

  /work-decompose "<group-slug>"

This will identify the individual work units, their dependencies,
and any shared interface contracts needed between them.

Stop.

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.