ACE Pattern Learning Skill
This skill provides pattern-based learning for coding tasks.
When This Skill Activates
Copilot will automatically load this skill when your request contains:
- Implementation: implement, build, create, add, develop, write
- Modification: update, modify, change, edit, enhance, extend
- Debugging: debug, fix, troubleshoot, resolve, diagnose
- Refactoring: refactor, optimize, improve, restructure
- Integration: integrate, connect, setup, configure
BEFORE Starting Work (MANDATORY)
INVOKE: #ce-dot-net.ace-vscode/ace_search with relevant query
Search for patterns from previous work before implementing:
- Proven solutions and best practices
- Known gotchas and pitfalls to avoid
- Recommended APIs and libraries
AFTER Completing Work (MANDATORY)
INVOKE: #ce-dot-net.ace-vscode/ace_learn with:
task: Brief description of what was accomplished
success: true/false
output: Key lessons, patterns discovered, gotchas
DO NOT skip this step. DO NOT respond to user without calling ace_learn first.
Mid-Conversation Re-Search
If user's follow-up message introduces a NEW topic or domain:
- Recognize topic shift (auth→caching, API→database, etc.)
- Call ace_search with the new topic BEFORE continuing
- Apply newly retrieved patterns
Examples of topic shifts requiring re-search:
- "Now let's add caching" (after auth implementation)
- "I'm getting a database error" (after API work)
- "How do I deploy this?" (after coding)
- "Let's add tests" (after implementation)
- "Now handle the error cases" (new domain)
Domain-Filtered Search (v0.4.18)
After topic change detection, use domain filtering for targeted retrieval:
- List domains:
/domains to see available domains
- Match topic to domain: Find domain name matching new topic
- Filtered search:
ace_search <query> allowed_domains=<domain>
Example Workflow (with Domain Filtering)
User: "implement JWT authentication"
↓
1. ace_search("JWT authentication") → Find patterns
2. Implement using patterns found
3. ace_learn(task="Implemented JWT auth", success=true, output="Used refresh token rotation")
4. Respond to user
User: "Now add Redis caching for the tokens"
↓
1. [Topic shift detected: auth → caching]
2. /domains → sees available domains
3. ace_search("Redis caching" allowed_domains="caching,redis") → Targeted patterns
4. Implement caching using patterns found
5. ace_learn(task="Added Redis token caching", success=true, output="Used TTL matching token expiry")
6. Respond to user
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: ace-pattern-learning3description: Search ACE playbook before implementing, building, fixing, debugging, or refactoring code. Capture patterns after completing substantial coding work. Use when this capability is needed.4---5<!-- ACE_SECTION v0.4.32 -->6# ACE Pattern Learning Skill78This skill provides pattern-based learning for coding tasks.910## When This Skill Activates1112Copilot will automatically load this skill when your request contains:13- **Implementation**: implement, build, create, add, develop, write14- **Modification**: update, modify, change, edit, enhance, extend15- **Debugging**: debug, fix, troubleshoot, resolve, diagnose16- **Refactoring**: refactor, optimize, improve, restructure17- **Integration**: integrate, connect, setup, configure1819## BEFORE Starting Work (MANDATORY)2021**INVOKE**: `#ce-dot-net.ace-vscode/ace_search` with relevant query2223Search for patterns from previous work before implementing:24- Proven solutions and best practices25- Known gotchas and pitfalls to avoid26- Recommended APIs and libraries2728## AFTER Completing Work (MANDATORY)2930**INVOKE**: `#ce-dot-net.ace-vscode/ace_learn` with:31- `task`: Brief description of what was accomplished32- `success`: true/false33- `output`: Key lessons, patterns discovered, gotchas3435**DO NOT skip this step. DO NOT respond to user without calling ace_learn first.**3637## Mid-Conversation Re-Search3839If user's follow-up message introduces a NEW topic or domain:401. Recognize topic shift (auth→caching, API→database, etc.)412. Call ace_search with the new topic BEFORE continuing423. Apply newly retrieved patterns4344**Examples of topic shifts requiring re-search:**45- "Now let's add caching" (after auth implementation)46- "I'm getting a database error" (after API work)47- "How do I deploy this?" (after coding)48- "Let's add tests" (after implementation)49- "Now handle the error cases" (new domain)5051## Domain-Filtered Search (v0.4.18)5253After topic change detection, use domain filtering for targeted retrieval:54551. **List domains**: `/domains` to see available domains562. **Match topic to domain**: Find domain name matching new topic573. **Filtered search**: `ace_search <query> allowed_domains=<domain>`5859## Example Workflow (with Domain Filtering)6061```62User: "implement JWT authentication"63 ↓641. ace_search("JWT authentication") → Find patterns652. Implement using patterns found663. ace_learn(task="Implemented JWT auth", success=true, output="Used refresh token rotation")674. Respond to user6869User: "Now add Redis caching for the tokens"70 ↓711. [Topic shift detected: auth → caching]722. /domains → sees available domains733. ace_search("Redis caching" allowed_domains="caching,redis") → Targeted patterns744. Implement caching using patterns found755. ace_learn(task="Added Redis token caching", success=true, output="Used TTL matching token expiry")766. Respond to user77```78<!-- ACE_SECTION_END -->7980---81> Converted and distributed by [TomeVault](https://tomevault.io/claim/ce-dot-net) — claim your Tome and manage your conversions.82<!-- tomevault:4.0:skill_md:2026-04-13 -->