agentleFS
jjmrochajjmrocha/coding-skills/using-software-specialists/SKILL.md

using-software-specialists

Skill1 starsChanged 30 days agoMITView on GitHub

Use when starting any non-trivial software task — feature, bugfix, refactor, migration, security/auth work, performance work, or turning a spec into a plan — before writing code, diagnosing, or proposing a fix.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Core principle: Every software task touches multiple domains.

    line 8
  2. Distinctive:

    When two specialists could both fire, each asks a unique question — see references/specialist-questions.md.

    line 76
  3. Distinctive:

    When a specialist spots an issue outside their domain, flag it explicitly for the relevant specialist — don't silently ignore cross-domain …

    line 104

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

Using Software Specialists

Core principle: Every software task touches multiple domains. Each specialist asks a question the others don't — skipping one means that question never gets asked.

If the conversation was compacted, re-invoke this skill before continuing.

When NOT to Use

Don't load when...Instead...
Pure copy/paste, rename, typo, comment-only changeJust do it
Single-line edit you already verified touches no auth, payment, schema, or public APIJust do it
The relevant specialist was already applied this session for the same surfaceReuse the prior framing

Phases

Requirements (what?) → Design (shape?) → Plan (order?) → Implementation (how?) → Testing (works?) → Validation (safe?) → Documentation (maintains?)

Advance only when the current phase's output is complete:

PhaseDone when...
RequirementsAcceptance criteria testable, scope exclusions explicit, NFRs listed
DesignComponent boundaries defined, data model serves all access patterns, API contracts written, and every new or widened interface has a designing-interfaces contract that passes its read-back
PlanTasks decomposed, dependencies explicit, riskiest work first, verification check per step
ImplementationFeature works end-to-end (not just compiles), each behavior driven by a test written first, error/loading/empty states handled, contracts honored
TestingEdge cases enumerated and covered beyond the TDD suite, test levels right (inverted pyramid), no flaky tests, tests pass in CI not just locally
ValidationSecurity review passed, QE strategy confirmed, "Validate Before Done" answered
DocumentationPublic APIs/READMEs/runbooks updated, owner assigned, outdated docs deleted

Backend and Frontend implementation can run in parallel against an agreed API contract — the contract is the seam.

Testing is not "after" coding. Tests are written test-first during Implementation (TDD). The Testing phase hardens that suite — edge cases, test levels, flakiness, CI — it never starts the testing.

Implementation: load designing-interfaces, coding-discipline, and test-driven-development. If kb_path is configured, also load knowledge-base first.

If the user provides a plan file (e.g., "plan and implement using ~/plans/X.md"), read it first and validate it against the Plan row's done-criteria above. Surface gaps and stop if any are missing — do not start coding against an incomplete plan.

Task Routing

Forward lookup by task domain. "Start with" = lead mindset. "Then add" = complementary perspectives during/after implementation. "Before done" = validation gate, never skip.

Applying a specialist means reading its reference file first: references/<specialist>.md. The name alone is not the specialist — the file carries its required sub-skills, focus areas, and red flags. Role-playing from the table row without reading the file is skipping the specialist.

TaskStart withThen addBefore done
Backend development (APIs, server logic, caching)Backend EngineerTesterSecurity Engineer, Quality Engineer
Data modeling, schema design, migrations, indexingDatabase DesignerBackend EngineerSecurity Engineer, Quality Engineer
Frontend development (UI, state, accessibility, performance)Frontend EngineerTesterSecurity Engineer, Quality Engineer
New service or system designSystem ArchitectBackend Engineer, Database DesignerSecurity Engineer, Quality Engineer
Full-stack featureSystem ArchitectBackend Engineer, Database Designer, Frontend Engineer, TesterSecurity Engineer, Quality Engineer
Auth, security, compliance, threat modelingSecurity EngineerBackend EngineerQuality Engineer
Test strategy, quality gates, flaky tests, inverted pyramidQuality EngineerTester—
Writing unit/integration tests for specific codeTester—Quality Engineer
CI/CD, deployment, infra, monitoringDevOps Engineer—Security Engineer, Quality Engineer
Code quality, refactoring, technical debtRefactoring ExpertTesterQuality Engineer
Bug, build failure, deploy failure, regression after a changeTroubleshooterPerformance Engineer (if perf-related)Quality Engineer
Performance tuning, profiling, capacity planning, load testingPerformance EngineerBackend Engineer, Database Designer, Frontend Engineer (if FE/Core Web Vitals)Quality Engineer
New project, requirements, scoping, PRDsRequirements Analyst——
Turning an approved spec into an execution planProject Planner——
Technical investigation, research, analysisDeep Research Agent——
Documentation, user guides, API referencesTechnical Writer——
Prompt optimization, few-shot design, LLM eval, prompt-cache layout, long-context strategyPrompt Engineer—Security Engineer
LLM-powered feature, AI agent, RAG pipeline, AI-assisted actionPrompt EngineerML Engineer (if retrieval/embeddings), Backend EngineerSecurity Engineer, Quality Engineer
ML training, fine-tuning, model evaluation, retrieval/embedding design, fairness/bias auditML EngineerPrompt Engineer (if LLM), Backend Engineer (if pipeline)Security Engineer, Quality Engineer

Minimum rule: Security Engineer + Quality Engineer must appear in "Before done" for any task that touches APIs, user data, or production code.

Disambiguating Specialists

When two specialists could both fire, each asks a unique question — see references/specialist-questions.md. Load it before invoking a specialist whose role you're unsure of.

Tester vs Quality Engineer

  • Tester = craftsperson: edge cases, mock boundaries, assertion clarity for this code. Writes good tests during implementation.
  • Quality Engineer = strategist: right test level, testability of the design, inverted pyramid, flaky-test erosion. Validates the strategy before done.

The "systematic coverage" trap: Edge-case enumeration for a specific function — null inputs, boundaries, invalid types, overflow — IS Tester work even when it feels systematic. QE owns the level, not whether you've covered all cases for this function. "Write tests for calculateDiscount()" → Tester leads.

Validate Before Done

Answer each item that applies before marking complete. Security and QA are universal; the rest trigger on their condition.

  • Security (always): What inputs are trusted? What can be abused? Is auth enforced?
  • QA (always): What edge cases are untested? What fails under bad input or load?
  • Troubleshoot (if you debugged): Root cause confirmed, or just the symptom patched?
  • Refactor (if you changed existing code): All existing behavior preserved? Tests still passing?
  • Docs (if anything user/operator-facing changed): APIs / READMEs / runbooks updated? Owner assigned?

Anti-Patterns

Routing rationalizations only — process discipline lives in coding-discipline.

If you think...Reality
"The 'Start with' specialist is enough" / "Validate is optional" / "It's internal, no security concerns""Then add" and "Before done" columns are non-negotiable gates. Internal APIs still have auth gaps, injection, and trust-boundary risks.
"Existing tests still pass after the auth refactor, ship it"Auth bugs don't fail tests — they create bypass paths your tests weren't written to catch. Auth refactors always require Security Engineer review regardless of test results.

When a specialist spots an issue outside their domain, flag it explicitly for the relevant specialist — don't silently ignore cross-domain concerns.

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.