Specialist - Domain-Specific Prompt Adaptation
Overview
Specialist adapts prompts for specific domains and industries for PromptForge AI. A prompt that works for general writing won't work for legal contracts, medical summaries, or code review. Specialist ensures prompts are optimized for their specific domain context.
When to Use
- When creating prompts for a specific industry (legal, medical, finance, engineering, etc.)
- When adapting general-purpose prompts for domain-specific use
- When incorporating domain terminology, standards, or regulations into prompts
- When building domain-specific template libraries
- When evaluating whether a prompt is appropriate for a given domain
- Don't use when: Creating general-purpose prompts that work across domains
Core Procedures
Step 1: Analyze Domain Requirements
For each domain:
- Terminology: What specialized terms must the prompt understand and use correctly?
- Standards: What industry standards or frameworks apply? (e.g., HIPAA for healthcare, GAAP for finance)
- Regulations: What legal or compliance requirements affect the output?
- Audience: Who will read the output? (experts, general public, regulators)
- Format: What output formats are standard in this domain?
- Constraints: What must the prompt avoid? (liability, medical advice, etc.)
Step 2: Gather Domain Knowledge
- Domain-specific glossaries and ontologies
- Industry best practices and guidelines
- Regulatory requirements and compliance standards
- Example inputs and outputs from the domain
- Common pitfalls and mistakes in the domain
Step 3: Adapt Prompt Architecture
Modify the base prompt template for the domain:
- Role Definition: Change system role to domain expert (e.g., "You are a senior legal analyst")
- Terminology Injection: Add domain-specific terms and their meanings
- Constraint Addition: Add domain-specific constraints and guardrails
- Format Specification: Change output format to match domain standards
- Example Replacement: Replace generic examples with domain-specific examples
- Validation Criteria: Add domain-specific quality checks
Step 4: Test Domain Adaptation
Step 5: Document Domain Profile
DOMAIN PROFILE
==============
Domain: [industry/field name]
Terminology: [key terms and definitions]
Standards: [applicable standards and frameworks]
Regulations: [compliance requirements]
Audience: [who reads the outputs]
Output Format: [standard format for this domain]
Constraints: [what the prompt must avoid]
Best Practices: [domain-specific prompt tips]
Template Variants: [which templates work best for this domain]
Success Metrics
- Domain adaptation accuracy: >=90% (domain expert approval rate)
- Terminology correctness: >=95% (correct use of domain terms)
- Compliance rate: 100% (no regulatory violations in outputs)
- Domain coverage: >=10 major domains with documented profiles
Error Handling
- Error: Prompt produces outputs that violate domain standards
Response: Add explicit constraint to prompt, re-test with compliance checklist
- Error: Domain terminology used incorrectly
Response: Add terminology gloss to prompt context, provide correct usage examples
- Error: No domain expert available for validation
Response: Use domain documentation and examples as proxy, flag outputs as "unvalidated by expert"
Cross-Team Integration
Related Skills: blueprint-promptforge-template-designer, enhancer-promptforge-advanced-innovation, integrity-promptforge-ethical-ai, compliance-promptforge-regulatory-compliance
Used By: Blueprint, Enhancer, Integrity, Compliance, ALL agents creating domain-specific prompts
1---2name: specialist-promptforge-domain-adaptation3description: >4 Use when adapting prompts for specific industries, domains, or specialized contexts.5 This skill provides procedures for incorporating domain knowledge, terminology,6 constraints, and best practices into prompt engineering for domain-specific excellence.7metadata:8 source: https://skillmd.com/skills/construct-ai-primary/specialist-promptforge-domain-adaptation9---1011# Specialist - Domain-Specific Prompt Adaptation1213## Overview14Specialist adapts prompts for specific domains and industries for PromptForge AI. A prompt that works for general writing won't work for legal contracts, medical summaries, or code review. Specialist ensures prompts are optimized for their specific domain context.1516## When to Use17- When creating prompts for a specific industry (legal, medical, finance, engineering, etc.)18- When adapting general-purpose prompts for domain-specific use19- When incorporating domain terminology, standards, or regulations into prompts20- When building domain-specific template libraries21- When evaluating whether a prompt is appropriate for a given domain22- **Don't use when:** Creating general-purpose prompts that work across domains2324## Core Procedures2526### Step 1: Analyze Domain Requirements27For each domain:281. **Terminology:** What specialized terms must the prompt understand and use correctly?292. **Standards:** What industry standards or frameworks apply? (e.g., HIPAA for healthcare, GAAP for finance)303. **Regulations:** What legal or compliance requirements affect the output?314. **Audience:** Who will read the output? (experts, general public, regulators)325. **Format:** What output formats are standard in this domain?336. **Constraints:** What must the prompt avoid? (liability, medical advice, etc.)3435### Step 2: Gather Domain Knowledge36- Domain-specific glossaries and ontologies37- Industry best practices and guidelines38- Regulatory requirements and compliance standards39- Example inputs and outputs from the domain40- Common pitfalls and mistakes in the domain4142### Step 3: Adapt Prompt Architecture43Modify the base prompt template for the domain:44- **Role Definition:** Change system role to domain expert (e.g., "You are a senior legal analyst")45- **Terminology Injection:** Add domain-specific terms and their meanings46- **Constraint Addition:** Add domain-specific constraints and guardrails47- **Format Specification:** Change output format to match domain standards48- **Example Replacement:** Replace generic examples with domain-specific examples49- **Validation Criteria:** Add domain-specific quality checks5051### Step 4: Test Domain Adaptation52- [ ] Test with domain-specific inputs (not generic inputs)53- [ ] Have domain expert review outputs (if available)54- [ ] Check terminology accuracy55- [ ] Verify compliance with domain standards56- [ ] Test edge cases specific to the domain57- [ ] Document domain-specific failure modes5859### Step 5: Document Domain Profile60```61DOMAIN PROFILE62==============63Domain: [industry/field name]64Terminology: [key terms and definitions]65Standards: [applicable standards and frameworks]66Regulations: [compliance requirements]67Audience: [who reads the outputs]68Output Format: [standard format for this domain]69Constraints: [what the prompt must avoid]70Best Practices: [domain-specific prompt tips]71Template Variants: [which templates work best for this domain]72```7374## Success Metrics75- Domain adaptation accuracy: >=90% (domain expert approval rate)76- Terminology correctness: >=95% (correct use of domain terms)77- Compliance rate: 100% (no regulatory violations in outputs)78- Domain coverage: >=10 major domains with documented profiles7980## Error Handling81- **Error:** Prompt produces outputs that violate domain standards82 **Response:** Add explicit constraint to prompt, re-test with compliance checklist83- **Error:** Domain terminology used incorrectly84 **Response:** Add terminology gloss to prompt context, provide correct usage examples85- **Error:** No domain expert available for validation86 **Response:** Use domain documentation and examples as proxy, flag outputs as "unvalidated by expert"8788## Cross-Team Integration89**Related Skills:** blueprint-promptforge-template-designer, enhancer-promptforge-advanced-innovation, integrity-promptforge-ethical-ai, compliance-promptforge-regulatory-compliance90**Used By:** Blueprint, Enhancer, Integrity, Compliance, ALL agents creating domain-specific prompts