Skip to content
FunCoding

specialize

Use when the user wants to tailor a workflow for a specific industry, domain, or vertical with specialized expertise, terminology, and guardrails.

Star
602
License
MIT
Last commit
Apr 29, 2026

source/skills/specialize/SKILL.md

View on GitHub

MANDATORY PREPARATION

Invoke /agent-workflow — it contains workflow principles, anti-patterns, and the Context Gathering Protocol. Follow the protocol before proceeding — if no workflow context exists yet, you MUST run /teach-maestro first.


Transform a general-purpose workflow into a domain expert.

Step 1: Domain Discovery

  • Terminology: What domain-specific language must the agent use?
  • Regulations: What compliance requirements apply? (HIPAA, SOC2, GDPR)
  • Standards: What industry standards govern output format or quality?
  • Expert expectations: What would a domain expert check first?
  • Common errors: What mistakes would a non-expert make?

Step 2: Specialize Prompts

## Generic: You are an assistant that analyzes documents.
## Specialized (legal): You are a senior legal analyst specializing in contract review.
   You understand common law jurisdictions, standard contract clauses, and the
   difference between representations and warranties. Always caveat that this
   is not legal advice.

Step 3: Specialized Evaluation

DomainEvaluation Criteria
LegalClause completeness, regulatory compliance, jurisdiction accuracy
MedicalClinical accuracy, guideline adherence, contraindication checks
FinancialCalculation accuracy, regulatory disclosure, risk assessment
CodeTest coverage, security vulnerabilities, performance
Customer SupportTone, escalation accuracy, resolution completeness

Step 4: Domain Guardrails

  • Legal: "Not legal advice" disclaimer, jurisdiction limitations
  • Medical: "Not medical advice" disclaimer, emergency detection
  • Financial: Regulatory disclosures, suitability warnings
  • Code: Security scanning, dependency vulnerability checks

After specialization, run /evaluate with domain-specific scenarios, then /guard to add domain-appropriate safety guardrails.

NEVER:

  • Specialize without consulting domain experts or authoritative sources
  • Skip domain-specific guardrails
  • Use generic evaluation for specialized domains
  • Cut corners on terminology

Similar Skills

rea-analysis-optimization

MOmorluto/rea485k9,215 new stars in the last 7 days

codebase-design

MAmattpocock/skills336k5,004 new stars in the last 7 days

Featured

diagnosing-bugs

Diagnose hard bugs and performance regressions by building a feedback loop with tests or scripts.

MAmattpocock/skills336k5,004 new stars in the last 7 days

setup-ts-deep-modules

MAmattpocock/skills336k5,004 new stars in the last 7 days

code-review

MAmattpocock/skills336k5,004 new stars in the last 7 days

implement

MAmattpocock/skills336k5,004 new stars in the last 7 days