agentleFS
LazyAutomatarLazyAutomatar/spec-reuse/skills/feature/SKILL.md

feature

Skill0 starsChanged 2 days agoMITView on GitHub

Implement or port standardized, reusable building-block features from a local Features catalog (Features/CATALOG.md, ../Features/CATALOG.md, .agents/features/CATALOG.md, or FEATURE_CATALOG_PATH) into any target application. Trigger AUTOMATICALLY when a task matches an entry in the user's feature catalog, or when the user invokes the feature skill (/feature or $feature).

84 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use bug, bugfix and 10 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.
  • paulocsbSkill

    bug

    Investigation playbook for fixing a bug. Walks through 5 phases: reproduce → isolate → root cause → propose fix → validate. Forces concrete reasoning with code reads, log inspection, and git blame instead of pattern-matching guesses. Use for any non-trivial defect.

    Also in 9 projects that use this

  • team-attentionSkill

    bugfix

    Root cause based one-shot bug fix. debugger diagnosis → requirements.md generation → /execute. /bugfix "error description" Full investigation pipeline: debugger + gap-analyzer + standard verify. QA suggestion after successful fix.

    Also in 8 projects that use this

  • aegiswizardSkill

    context

    Also in 5 projects that use this

  • Google CloudSkill

    fix

    Plan a remediation strategy after a test failure.

    Also in 11 projects that use this

  • marylinSkill

    recover

    Recover work from a crashed or interrupted session. Use when Claude crashed mid-task, after an unexpected exit, when you see 'stale sessions detected', or when you lost context and need to figure out what was happening.

    Also in 3 projects that use this

  • codebycoreySkill

    adopt

    Adopt an existing plan from conversation context into delta-spec format. Use when importing a plan, adopting planning that already happened, capturing plan mode output, or bringing in prior design work.

    Also in 4 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 78 edited versions we read keep these.

  • 1

    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. Very specific:

    Use this workflow when the feature skill is invoked (e.g., /feature or $feature) or when a user request matches a reusable building block …

    line 8
  2. Very specific:

    If no catalog exists yet, tell the user and offer to initialize one using CATALOG.template.md (or proceed with a standard implementation …

    line 17
  3. Very specific:

    Read CATALOG.md first to map the request to one or more Feature IDs and check recommended pairings.

    line 18
  4. Very specific:

    Read only the matched <id>/SPEC.md and its references/ files (use outline or ranged file reads for large files).

    line 19
  5. Distinctive:

    Run the project's build and test suite after the final edit.

    line 38

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

feature — Implement a Reusable Feature

Use this workflow when the feature skill is invoked (e.g., /feature or $feature) or when a user request matches a reusable building block in their feature catalog.

Step 1: Locate the Feature Catalog (Token-Efficient)

Resolve the catalog root in this order (stop at the first match):

  1. Environment variable FEATURE_CATALOG_PATH (if set).
  2. ./Features/CATALOG.md or ./.agents/features/CATALOG.md (inside the current workspace).
  3. ../Features/CATALOG.md (sibling Features/ repository in a multi-repo workspace).
  • If no catalog exists yet, tell the user and offer to initialize one using CATALOG.template.md (or proceed with a standard implementation and extract it afterward with save-feature).
  • Read CATALOG.md first to map the request to one or more Feature IDs and check recommended pairings.
  • Read only the matched <id>/SPEC.md and its references/ files (use outline or ranged file reads for large files). Never scan unrelated feature folders.

Step 2: Inspect the Target Application (Minimal Parallel Reads)

Inspect only what is needed in the target repository in a single parallel batch (targeted code search + ranged file reads) to infer:

  • Project/package namespaces, language, and UI framework
  • App display name, repo URL (git remote -v), and current version
  • Exact integration points (DI/entry point, main shell/window, target views/services, CI/release files, test project)

Ask the user concisely only if critical parameters cannot be inferred.

Step 3: Implement & Adapt

  1. Adapt Namespaces & Identifiers: Replace all template/placeholder names (<TargetNamespace>, <AppName>, etc.) with the target app's real values. Never leave source-app branding or hardcoded secrets behind.
  2. Wire All Layers: Domain/core services, UI/views/styles, lifecycle cleanup hooks, and packaging/CI hooks if applicable.
  3. Add Tests: Cover the verification checklist defined in <id>/SPEC.md.

Step 4: Verify Before Reporting

  1. Run the project's build and test suite after the final edit.
  2. Report exact file paths changed, parameterized values used, and observed build/test results.

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.