agentleFS
splunksplunk/token-meter/.agents/skills/token-meter-development/SKILL.md

token-meter-development

Skill106 starsChanged 3 months agoMITView on GitHub

Use when a Token Meter issue or approved feature needs diagnosis or implementation in the repository.

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 4 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    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:

    Use when the envelope does not authorize implementation.

    line 17
  2. Very specific:

    REQUIRED SUB-SKILL: Use superpowers:systematic-debugging for failures or unexpected behavior.

    line 21
  3. Distinctive:

    Use for standard or high-risk work only with explicit implementation authority and approved acceptance criteria.

    line 29
  4. Very specific:

    Read specs/AGENTS.md, the relevant implementation and tests, the task envelope, and current dirty-tree inventory.

    line 32
  5. Very specific:

    REQUIRED SUB-SKILL: Use superpowers:test-driven-development.

    line 37
  6. Distinctive:

    Run relevant self-checks without representing them as independent verification.

    line 40
  7. Very specific:

    Use the low-risk fast path only when the coordinator names it explicitly and every eligibility condition in …

    line 46
  8. Distinctive:

    Do not modify or discard unrelated changes.

    line 60

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “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

Token Meter Development

Purpose

Diagnose unexplained behavior or implement an approved Token Meter change as the single writer for the assigned worktree. Return evidence; do not certify readiness.

Select the mode

Diagnosis-only

Use when the envelope does not authorize implementation. Reproduce the symptom when practical, trace the actual execution and data path, distinguish observed facts from inference, and identify the smallest credible cause.

REQUIRED SUB-SKILL: Use superpowers:systematic-debugging for failures or unexpected behavior.

Return cause, evidence, uncertainty, affected surfaces, options, and the exact next approval needed. Diagnosis-only mode prohibits tracked-file edits.

Standard implementation

Use for standard or high-risk work only with explicit implementation authority and approved acceptance criteria.

  1. Read specs/AGENTS.md, the relevant implementation and tests, the task envelope, and current dirty-tree inventory.
  2. Confirm this role owns tracked-file writes. Another writer must hand off before editing the same worktree.
  3. For a product or technical design decision, complete the approved design gate.
  4. REQUIRED SUB-SKILL: Use superpowers:test-driven-development. Write a focused regression test, observe the expected failure, implement the smallest complete change, and observe the focused pass.
  5. Run relevant self-checks without representing them as independent verification.
  6. Reinspect callers, public projections, platform behavior, packaging, documentation, and installed-runtime effects implicated by the diff.

Low-risk fast path

Use the low-risk fast path only when the coordinator names it explicitly and every eligibility condition in .agents/workflow/review-policy.yaml remains true. The envelope must name one allowed change kind and evidence for every eligibility condition. This is a separate mode: follow the common input and ownership checks in steps 1-2 above, then run only the focused checks named in the envelope and git diff --check. Do not inherit the standard design, TDD, consumer-scan, independent tester/reviewer, full-suite, browser, native, installation, or live-runtime steps unless the focused acceptance criteria require them. Record what was not run.

Escalate to the standard route before continuing if eligibility is uncertain, scope expands, an unexpected failure appears, a cross-surface consumer is implicated, or acceptance depends on runtime behavior. Do not stretch the fast path to finish work that no longer qualifies.

Do not modify or discard unrelated changes. Do not patch only the staged runtime. Change source first; installation and live checks belong to the verification route.

Developer result

Return:

  • Status and current head commit or explicit uncommitted state.
  • Files changed, owner, and reason for each.
  • Reproduction and red/green test evidence.
  • Commands run with outcomes.
  • Claimed behavior and affected risk categories.
  • Unverified behavior, blockers, and recommended next state.

Implementation approval does not authorize commit, push, Slack or GitHub writes, review requests, merge, deployment, or self-certification. The coordinator routes the result to independent testing and review.

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.