agentleFS
BhavinMBhavinM/my-claude-setup/.claude/skills/dev/SKILL.md

dev

Skill0 starsChanged 10 months agoMITView on GitHub

General-purpose development workflow for ad-hoc tasks outside of plans. Routes to the right domain skills (postgres-expert, server-action-builder, react-form-builder, service-builder, playwright-e2e), enforces task tracking, and follows a reference-grounded build-test-verify loop. Use when asked to 'build this', 'add this feature', 'fix this bug', 'create this component', 'wire up this form', or any implementation task not tied to a plan. Do NOT use for plan-based work (use /implement), creating plans (use /create-plan), or reviews (use /code-review, /review-plan).

24 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use test, memory 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

    test

    Also in 4 projects that use this

  • GoogleSkill

    memory

    Expertise in maintaining persistent bot memory, synchronizing with previous sessions via the Task Ledger, and preserving decision logs.

    Also in 3 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

  • SentrySkill

    review

    Fixture review skill.

    Also in 5 projects that use this

  • MicrosoftSkill

    release

    Use ONLY when the user explicitly asks to cut/publish a Huabu desktop release or tag a version. Performs an outward action — bumps the version in apps/desktop/package.json, commits + annotated-tags vX.Y.Z, and pushes the branch + tag. That tag push auto-builds the macOS/Windows installers and publishes a GitHub Release. Provides `status`, `bump`, `tag-push`, and a one-command `run` (bump → tag-push).

    Also in 4 projects that use this

  • VercelSkill

    setup

    Set up Vercel CLI and project configuration. Use when the user says "set up Vercel", "configure Vercel", "link to Vercel", or "vercel init".

    Also in 3 projects that use this

The file

Show its rules and text

We split this skill into the rules it gives an agent

23 rules. 0 are common, 19 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 16 edited versions we read keep these.

  • 19

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Check TaskList FIRST: before doing anything else — tasks may already exist from a previous session or compact

    line 25
  2. Distinctive:

    Find a reference implementation: before writing code — never guess at patterns

    line 26
  3. Distinctive:

    Do NOT create plan files, phase files, or documentation — this skill implements directly

    line 29
  4. Very specific:

    Read existing tasks with TaskGet for each task ID

    line 36
  5. Distinctive:

    If no tasks exist, create them in Step 2 after scoping the work.

    line 40
  6. Distinctive:

    Read any files the user referenced or that are clearly relevant.

    line 48
  7. Distinctive:

    Invoke the domain skill: before implementing that type of work:

    line 90
  8. Distinctive:

    Reference is ground truth: If the codebase does something differently from what you'd expect, match the codebase.

    line 96
  9. Distinctive:

    Read the reference file (if not already read for this type)

    line 104
  10. Distinctive:

    Run quick verification (tests for that area if they exist)

    line 106
  11. Distinctive:

    Do NOT add improvements not specified in the task

    line 116
  12. Distinctive:

    Do NOT refactor adjacent code

    line 117
  13. Distinctive:

    Do NOT create documentation files

    line 118
  14. Distinctive:

    IMPORTANT: Before using the Write tool on any existing file, you MUST Read it first or the write will silently fail.

    line 120
  15. Distinctive:

    Run the verification suite:

    line 124
  16. Very specific:

    If the project doesn't have these commands, check package.json scripts for alternatives.

    line 133
  17. Distinctive:

    If you notice context was compacted or you're unsure of current progress:

    line 146
  18. Very specific:

    Run TaskList to see all tasks and their status

    line 148
  19. Very specific:

    Run TaskGet {id} on that task to read full details

    line 150
  20. Distinctive:

    Do NOT create plan files, phase files, or review files — this is for direct implementation

    line 182
  21. Distinctive:

    Do NOT skip the reference read — guessing at patterns causes review failures

    line 183
  22. Distinctive:

    Do NOT skip verification — unverified code is incomplete work

    line 184
  23. Distinctive:

    Keep task descriptions self-contained — they're your lifeline after compaction

    line 186

“Common” is measured: kept by at least 6 in 10 of the 16 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
<!-- ultrathink: Enable extended thinking for implementation work -->

Dev

YOUR TASK: $ARGUMENTS

Do NOT ask the user to re-describe the task. Parse the arguments above and start working.

Critical

  • Check TaskList FIRST before doing anything else — tasks may already exist from a previous session or compact
  • Find a reference implementation before writing code — never guess at patterns
  • Invoke the right domain skill for each piece of work — skills embed project-specific conventions
  • Run verification (tests, typecheck) before reporting done — unverified code breaks downstream work
  • Do NOT create plan files, phase files, or documentation — this skill implements directly

Task Tracking

Tasks survive context compacts — skipping this check causes lost progress and repeated work.

Before starting work, run TaskList to check if tasks already exist from a previous session or before a compact. If tasks exist:

  1. Read existing tasks with TaskGet for each task ID
  2. Find the first task with status pending or in_progress
  3. Resume from that task — do NOT recreate the task list

If no tasks exist, create them in Step 2 after scoping the work.

Mark each task in_progress when starting and completed when done.

Workflow

Step 1: Understand the Task

Read any files the user referenced or that are clearly relevant. If the task mentions an existing file, read it. If it mentions a feature area, Glob for related files.

Extract:

  • What needs to change — new files, modified files, or both
  • What domain(s) are involved — database, server actions, services, UI, forms, tests
  • What already exists — don't rebuild what's already there

Step 2: Create Task List

Break the task into concrete sub-tasks. Each task should be a single, completable unit of work.

TaskCreate({ subject: "...", description: "...", activeForm: "..." })

Task descriptions must be self-contained — include file paths, function signatures, and acceptance criteria. If your context gets compacted, the task description is all you'll have.

Order tasks by dependency:

  1. Schema/database changes first (if any)
  2. Service layer
  3. Server actions
  4. UI components and forms
  5. Tests (or interleave with TDD — Step 0 pattern)
  6. Verification

Step 3: Identify Domain Skills and References

For each task, determine the right domain skill and find a reference implementation:

Work TypeDomain SkillReference Glob
Database schema, migrations, RLS policies/postgres-expertsupabase/migrations/*.sql
Service layer (business logic, CRUD)/service-builderapp/home/[account]/**/*service*.ts
Server actions (mutations, auth + Zod)/server-action-builderapp/home/[account]/**/*server-actions*.ts
React forms with validation/react-form-builderapp/home/[account]/**/_components/*.tsx
React components, pages, layouts/vercel-react-best-practicesapp/home/[account]/**/_components/*.tsx
E2E tests/playwright-e2ee2e/tests/**/*.spec.ts
UI/UX review/web-design-guidelinesN/A (guideline check, not reference-based)

For each domain involved:

  1. Glob the reference pattern — read ONE file of the matching type
  2. Extract key patterns: function signatures, imports, naming, error handling
  3. Invoke the domain skill before implementing that type of work:
    Skill({ skill: "postgres-expert" })
    The skill loads project-specific conventions. Follow them.

Reference is ground truth. If the codebase does something differently from what you'd expect, match the codebase.

Step 4: Implement

Work through your task list sequentially. For each task:

  1. TaskUpdate — mark in_progress
  2. Invoke the domain skill (if not already loaded for this type)
  3. Read the reference file (if not already read for this type)
  4. Implement the change
  5. Run quick verification (tests for that area if they exist)
  6. TaskUpdate — mark completed

Key project patterns to follow:

  • Server actions: validate with Zod, verify auth before processing
  • Services: createXxxService(client) factory wrapping private class, import 'server-only'
  • Imports: path aliases, ordering: React > third-party > internal > local
  • After mutations: revalidatePath('/home/[account]/...')

Scope boundary — implement ONLY what was asked:

  • Do NOT add improvements not specified in the task
  • Do NOT refactor adjacent code
  • Do NOT create documentation files

IMPORTANT: Before using the Write tool on any existing file, you MUST Read it first or the write will silently fail. Prefer Edit for modifying existing files.

Step 5: Verify

Run the verification suite:

pnpm test
pnpm run typecheck

Both must pass. If either fails, fix the issues before proceeding.

If the project doesn't have these commands, check package.json scripts for alternatives.

Step 6: Summary

Report what was done:

  • Files created/modified (list with brief description of each change)
  • Domain skills used (which skills were invoked)
  • Verification result (tests passing, typecheck clean)
  • Anything left for the user (manual steps, env vars to set, etc.)

Resuming After Context Compact

If you notice context was compacted or you're unsure of current progress:

  1. Run TaskList to see all tasks and their status
  2. Find the in_progress task — that's where you were
  3. Run TaskGet {id} on that task to read full details
  4. Continue from that task — don't restart from the beginning

Tasks persist across compacts. The task list is your source of truth for progress, not your memory.

Pattern for every work session:

TaskList -> find in_progress or first pending -> TaskGet -> continue work -> TaskUpdate (completed) -> next task

Troubleshooting

Domain skill not found or not relevant

Cause: The task doesn't fit neatly into one domain skill.

Fix: Skip skill invocation for that piece of work. Find a reference file of the same type in the codebase and follow its patterns directly. The reference is more important than the skill.

Tests fail but code looks correct

Cause: Reference patterns may have changed, or existing tests have assumptions your change breaks.

Fix: Re-read the failing test file. Understand what it expects. If your change intentionally alters behavior, update the test. If not, your implementation has a bug — fix it.

Task is too large for a single session

Cause: The task scope exceeds what can be done before context fills up.

Fix: This is exactly why task tracking exists. Your tasks will survive compaction. If the task is truly massive (10+ files, multiple domains), suggest the user create a plan with /create-plan instead.

Constraints

  • Do NOT create plan files, phase files, or review files — this is for direct implementation
  • Do NOT skip the reference read — guessing at patterns causes review failures
  • Do NOT skip verification — unverified code is incomplete work
  • Auto-invoke domain skills for matching work types — they embed conventions you'll miss otherwise
  • Keep task descriptions self-contained — they're your lifeline after compaction

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.