Skip to main content

How Skills Activate

Skills activate automatically when a user’s request matches the skill’s description. The description in the YAML frontmatter contains trigger phrases that AI agents use to determine relevance.
You don’t explicitly invoke skills - they activate automatically when your request matches their trigger phrases. This creates a natural, conversational experience.

Trigger Phrases by Skill

Each Web Quality Skill includes specific trigger phrases in its description:

1. Web Quality Audit

  • “audit my site”
  • “review web quality”
  • “run lighthouse audit”
  • “check page quality”
  • “optimize my website”

2. Performance

  • “speed up my site”
  • “optimize performance”
  • “reduce load time”
  • “fix slow loading”
  • “improve page speed”
  • “performance audit”

3. Core Web Vitals

  • “improve Core Web Vitals”
  • “fix LCP”
  • “reduce CLS”
  • “optimize INP”
  • “page experience optimization”
  • “fix layout shifts”

4. Accessibility

  • “improve accessibility”
  • “a11y audit”
  • “WCAG compliance”
  • “screen reader support”
  • “keyboard navigation”
  • “make accessible”

5. SEO

  • “improve SEO”
  • “optimize for search”
  • “fix meta tags”
  • “add structured data”
  • “sitemap optimization”
  • “search engine optimization”

6. Best Practices

  • “apply best practices”
  • “security audit”
  • “modernize code”
  • “code quality review”
  • “check for vulnerabilities”

Example Activations

Here’s how different user requests activate skills:
User: “Can you help speed up my site?”Activated Skill: PerformanceWhy: The phrase “speed up my site” directly matches the performance skill’s trigger phrases.Agent Response:
  • Analyzes performance bottlenecks
  • Checks performance budget adherence
  • Reviews critical rendering path
  • Provides specific optimization recommendations
User: “Audit this page for accessibility and SEO issues”Activated Skills: Accessibility + SEOWhy: Request mentions both “accessibility” and “SEO” explicitly.Agent Response:
  • Runs accessibility audit using WCAG guidelines
  • Performs SEO analysis for technical and on-page factors
  • Provides separate reports for each area
  • Prioritizes issues by severity
User: “Run a complete quality audit on my website”Activated Skill: Web Quality Audit (which orchestrates others)Why: “quality audit” matches the web-quality-audit skill.Agent Response:
  • Loads web-quality-audit skill as orchestrator
  • References performance skill for performance checks
  • References accessibility skill for a11y checks
  • References SEO skill for search optimization
  • References best-practices skill for security/code quality
  • Provides comprehensive report across all categories
User: “My LCP is 4.5 seconds, help me fix it”Activated Skill: Core Web VitalsWhy: “LCP” is a specific trigger phrase for core-web-vitals skill.Agent Response:
  • Focuses specifically on LCP optimization
  • Identifies common LCP issues (server response, render blocking, etc.)
  • Provides LCP-specific code examples
  • May load LCP.md reference for deeper guidance

Skill Orchestration

The Web Quality Audit skill demonstrates orchestration - using multiple skills together:
## References

For detailed guidelines on specific areas:
- [Performance Optimization](../performance/SKILL.md)
- [Core Web Vitals](../core-web-vitals/SKILL.md)
- [Accessibility](../accessibility/SKILL.md)
- [SEO](../seo/SKILL.md)
- [Best Practices](../best-practices/SKILL.md)

How Orchestration Works

1

Entry Point

User request matches the web-quality-audit description
"Audit my website for quality issues"
2

High-Level Analysis

Web quality audit skill provides structure:
  • Audit categories (Performance, Accessibility, SEO, Best Practices)
  • Severity levels (Critical, High, Medium, Low)
  • Output format template
3

Deep Dives

Agent loads specific skills as needed:
  • Performance skill for detailed performance analysis
  • Core Web Vitals skill when LCP/INP/CLS issues found
  • Accessibility skill for WCAG compliance
  • SEO skill for search optimization
  • Best Practices skill for security/code quality
4

Unified Report

Results combined into comprehensive audit:
  • Issues categorized by severity
  • Specific recommendations from each skill
  • Prioritized action items

Best Practices for Invoking Skills

1. Be Specific When Possible

“Make my site better”Result: May activate web-quality-audit for general analysis, but vague.

2. Use Natural Language

You don’t need to memorize exact trigger phrases. Natural language works:
  • “How can I make my images load faster?” → Performance skill
  • “Is my site accessible to screen readers?” → Accessibility skill
  • “Why isn’t Google finding my pages?” → SEO skill

3. Combine Multiple Concerns

"Audit my checkout page for accessibility issues and performance problems"
Result: Activates both accessibility and performance skills simultaneously.

4. Provide Context

“Fix performance”Result: Generic performance analysis.

5. Reference Specific Metrics

Using metric names activates precise skills:
MentionActivatesFocus
”LCP is slow”Core Web VitalsLargest Contentful Paint optimization
”Fix layout shifts”Core Web VitalsCLS-specific solutions
”Buttons feel laggy”Core Web VitalsINP optimization
”Contrast issues”AccessibilityWCAG contrast compliance
”Missing meta descriptions”SEOOn-page SEO

Multi-Skill Workflows

Some workflows benefit from using multiple skills in sequence:

Workflow 1: Pre-Launch Checklist

1

Start with Comprehensive Audit

"Run a complete quality audit before I launch"
Activates: Web Quality Audit
2

Address Critical Issues

"Fix the security vulnerabilities you found"
Activates: Best Practices (for security)
3

Optimize Performance

"Now optimize performance to hit Core Web Vitals targets"
Activates: Core Web Vitals + Performance
4

Final Accessibility Check

"Do a final accessibility audit with screen reader testing"
Activates: Accessibility

Workflow 2: Specific Problem Solving

1

Identify Metric Issue

"My Lighthouse performance score is 62"
Activates: Performance
2

Drill into Specific Metric

"LCP is 4.2s - what's causing it?"
Activates: Core Web Vitals (LCP focus)
3

Implement Fixes

Agent provides LCP-specific optimizations
4

Verify Other Metrics

"Check if my accessibility and SEO are good"
Activates: Accessibility + SEO

Activation Priority

When multiple skills could apply, agents prioritize based on:
  1. Explicit mentions - Direct skill names or specific metrics
  2. Specificity - More specific skills over general ones
  3. Context - Recent conversation history
  4. Orchestration - Comprehensive skills that reference others
User: “Optimize my homepage”Analysis:
  • Could match: Performance, SEO, Accessibility, Web Quality Audit
  • Most likely activation: Web Quality Audit (most comprehensive)
  • Why: “Optimize” is vague, so comprehensive audit provides best coverage
If user clarifies:
  • “Optimize my homepage speed” → Performance skill
  • “Optimize my homepage for Google” → SEO skill

Build docs developers (and LLMs) love