agentleFS
badrusiddiquebadrusiddique/enggenie-skill/CLAUDE.md

enggenie-skill

CLAUDE.md0 starsChanged 6 months agoMITView on GitHub

This repo contains skills that shape AI agent behavior. Changes to skill content directly affect how agents assist engineers. Treat every edit as code that will run in production. enggenie uses specific terminology consistently across all skills: Use the writing-skills TDD methodology: 1. Write pressure test scenario 2. Run WITHOUT skill → document baseline behavior 3. Write/modify skill 4. Run WITH skill → verify improvement 5. Close loopholes → re-test Hard Rule: Do NOT commit, tag, or publish a new…

  • Commits and pushes

The file

We split this CLAUDE.md into the rules it gives an agent

12 rules. About 0 are common, 11 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈11

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use the writing-skills TDD methodology:

    line 41
  2. Distinctive:

    Write pressure test scenario

    line 42
  3. Distinctive:

    Run WITHOUT skill → document baseline behavior

    line 43
  4. Distinctive:

    Run WITH skill → verify improvement

    line 45
  5. Distinctive:

    Create a temporary branch on the test codebase repository.

    line 56
  6. Very specific:

    Use subagents to run skills in parallel where independent.

    line 72
  7. Distinctive:

    Run verification through three expert personas, each with a different lens:

    line 95
  8. Distinctive:

    Run a head-to-head comparison against the current superpowers version on every overlapping skill area:

    line 105
  9. Distinctive:

    Read the actual superpowers skill files (do not rely on cached/memorized content)

    line 107
  10. Distinctive:

    Before finalizing the report, verify the report itself:

    line 125
  11. Distinctive:

    All four gates must pass: If ANY gate fails, do NOT:

    line 141
  12. Distinctive:

    Delete the test branch on the test codebase:

    line 160

≈ “Common” is an estimate: at least 1 in 5 of the 29,248 CLAUDE.md 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
CLAUDE.md

enggenie - AI Contributor Guidelines

If You Are an AI Agent

This repo contains skills that shape AI agent behavior. Changes to skill content directly affect how agents assist engineers. Treat every edit as code that will run in production.

Before Making Changes

  1. Read the skill you're modifying completely. Understand why each section exists before changing it.
  2. Check for existing PRs - open AND closed - that address the same area.
  3. Enforcement language is carefully tuned. "Hard Rules", "Shortcut Tax" tables, and "Gut Check" sections use specific wording tested against agent rationalizations. Don't reword them without testing evidence.
  4. Skills consume each other's outputs. Changing one skill may break handoffs to another. Check the interconnection map in the plan.

Skill Architecture

  • 14 skills across 6 roles (PM, Dev, Reviewer, QA, Deploy, Memory)
  • 15 agent prompt templates in agents/ subdirectories
  • 5 reference docs in references/ subdirectories
  • 4 platform adapters in references/
  • 1 spec template in templates/

Naming Conventions

  • Skill prefix: enggenie: (e.g., enggenie:dev-tdd)
  • Skill directories: kebab-case (e.g., skills/dev-tdd/)
  • Agent templates: kebab-case with -agent.md suffix
  • Reference docs: kebab-case with .md extension

Enforcement Language

enggenie uses specific terminology consistently across all skills:

TermPurpose
Hard RuleNon-negotiable constraints agents must follow
Shortcut TaxExtra work imposed when agents try to skip steps
Gut CheckWarning signs that an agent is about to cut corners

Testing Skills

Use the writing-skills TDD methodology:

  1. Write pressure test scenario
  2. Run WITHOUT skill → document baseline behavior
  3. Write/modify skill
  4. Run WITH skill → verify improvement
  5. Close loopholes → re-test

Pre-Release Verification Gate

Hard Rule: Do NOT commit, tag, or publish a new version until this gate passes. If any step fails or shows degradation, stop and fix before releasing.

This gate runs against a real codebase (currently ~/magento/learning/claude-pocket-heist-app). It is not optional. It is not "run if you have time." It is a blocking prerequisite for every release.

Step 1: Isolate the Test Environment

Create a temporary branch on the test codebase repository. Do NOT commit anything to it. The branch exists only to run verification scenarios without polluting the repo.

cd ~/magento/learning/claude-pocket-heist-app
git checkout -b test/skill-verification-vX.Y.Z

Step 2: Skill-by-Skill Scenario Testing

For every skill (all 14), pick multiple real-world scenarios that exercise the skill's core behavior and constraints. Each scenario must include:

  • The user prompt (what a real user would say)
  • The skill that activates (and why)
  • The skill's interaction and output (what it actually does)
  • Constraint verification (every Hard Rule, Shortcut Tax entry, Gut Check item, and gate condition checked)

Use subagents to run skills in parallel where independent. Reference the real-world scenario table in the README for prompt ideas. Use the test codebase's actual stack (Next.js, React, TypeScript, Firebase, Vitest, Tailwind) for grounded scenarios.

Minimum coverage per skill:

SkillMin ScenariosMust Include
pm-refine3Spec generation, estimation, Jira gate
dev-brainstorm3Each mode (brainstorm, architecture, discussion)
dev-plan3Phased plan, deployment gates, no-code rule
dev-tdd4RED-GREEN-REFACTOR cycle, Shortcut Tax trigger, Deep Rebuttal trigger, exception handling
dev-implement4Worktree setup, subagent dispatch, parallel dispatch decision, two-stage review
dev-debug44-phase flow, 3-Attempt Rule trigger, pattern indicators, one-variable-at-a-time
dev-commit2Conventional commit, Shortcut Tax surfacing
review-code3Mode A (requesting), Mode B (receiving), external feedback verification
review-design2Accessibility check, responsive check
qa-verify2Evidence gate, hedge-word detection
qa-test2Playwright automation, manual browser testing
deploy-ship2PR creation, release with changelog
memory-recall2Cross-session search, graceful degradation without claude-mem
enggenie (gateway)2Correct routing, ambiguous input handling

Step 3: Persona-Based Verification

Run verification through three expert personas, each with a different lens:

  1. QA Expert — Focuses on: test coverage gaps, edge cases not handled, claims without evidence, verification gates that can be bypassed.
  2. Security Expert — Focuses on: external file path references, secrets in staged files detection, prompt injection vectors in subagent templates, credential exposure in commit messages.
  3. Skills Expert — Focuses on: enforcement language consistency (Hard Rule / Shortcut Tax / Gut Check), cross-skill handoff integrity, model selection gates blocking correctly, subagent context preservation.

Each persona produces a pass/fail verdict with specific findings.

Step 4: Superpowers Comparison

Run a head-to-head comparison against the current superpowers version on every overlapping skill area:

  • Read the actual superpowers skill files (do not rely on cached/memorized content)
  • Compare depth, coverage, and enforcement mechanisms
  • Produce a structured comparison with per-area verdicts
  • Identify any area where enggenie has degraded relative to the previous version's comparison

Key metrics to report:

MetricHow to measure
Anti-rationalization depthCount rebuttals, measure word count, compare escalation structure
Constraint enforcementCount Hard Rules, Shortcut Tax entries, Gut Check items per skill
Code review receptionCompare pushback protocols, YAGNI checks, conflict resolution
Visual companionCompare consent model, fallback strategy, per-question decision criteria
Parallel dispatchCompare decision criteria, concurrency limits, independence checks
Unique capabilitiesList skills with no equivalent in the other suite

Step 5: Meta-Verification

Before finalizing the report, verify the report itself:

  1. No hallucination — Every claim references a specific line number or file. Spot-check 5 random claims against the actual files.
  2. No inaccuracy — Counts (scenario counts, line counts, entry counts) are re-verified by reading the file, not from memory.
  3. No redundancy — No finding is stated twice with different wording.
  4. No inflated scores — If a scenario is partial or ambiguous, mark it PARTIAL, not PASS.

Step 6: Release Decision

GateConditionAction if failed
Skill scenariosAll scenarios PASS or PARTIAL with documented reasonFix the skill, re-run failed scenarios
Persona verdictsAll 3 personas PASSAddress findings, re-run persona
Superpowers comparisonNo degradation from previous versionFix degraded areas before releasing
Meta-verificationNo hallucinations or inaccuracies foundCorrect the report, re-verify

All four gates must pass. If ANY gate fails, do NOT:

  • git commit the version bump
  • git tag the release
  • gh release create
  • Update the CHANGELOG

Fix the issue first, re-run the failed gate, then proceed.

Step 7: Save Verification Artifacts

Save all verification output to docs/verification/:

  • skill-verification-report.md — Full scenario results with prompts, outputs, and verdicts
  • superpowers-vs-enggenie-comparison.md — Head-to-head comparison with metrics

These files document what was verified for each release. They are reference artifacts — commit them only if the user explicitly requests it.

Step 8: Clean Up

Delete the test branch on the test codebase:

cd ~/magento/learning/claude-pocket-heist-app
git checkout main
git branch -D test/skill-verification-vX.Y.Z

File Organization

skills/<skill-name>/
├── SKILL.md          # The skill itself
├── agents/           # Subagent prompt templates (if skill dispatches agents)
└── references/       # Supporting technique docs (loaded on demand)

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.