ace-pattern-learning
Searches for proven patterns before you code and captures lessons learned after you finish.
Install
mkdir -p .claude/skills/ace-pattern-learning && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/11843" && unzip -o skill.zip -d .claude/skills/ace-pattern-learning && rm skill.zipInstalls to .claude/skills/ace-pattern-learning
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Search ACE playbook before implementing, building, fixing, debugging, or refactoring code. Capture patterns after completing substantial coding work.Key capabilities
- →Search for patterns before implementing code.
- →Capture lessons learned after completing work.
- →Detect topic shifts during work.
- →Perform domain-filtered searches.
- →Ensure best practices are followed for coding tasks.
How it works
The skill ensures that before starting work, existing patterns are searched, and after completing work, lessons and patterns are captured, with continuous re-searching during domain shifts.
Inputs & outputs
When to use ace-pattern-learning
- →Searching for known pitfalls before refactoring
- →Capturing lessons learned after debugging
- →Connecting to approved libraries for integration
- →Recording time saved on coding tasks
About this skill
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: 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: ace_learn with:
task: Brief description of what was accomplishedsuccess: true/falseoutput: Start withTIME_SAVED: Xm | reason, then key lessons, patterns discovered, gotchas
FAILURE TO CALL ace_learn = INCOMPLETE TASK
Continuous Re-Search (Domain Shift Detection)
Call ace_search AGAIN during work when:
- Topic shift: New domain mentioned (auth->caching, API->database, frontend->backend)
- Extended work: After 5+ tool calls without re-searching
- Errors: Hitting errors in a different area than original task
- New context: Switching file types or directories
- Task shift: User asks about something not covered by previous search
Domain-Filtered Search
After topic change detection, use domain filtering for targeted retrieval:
- List domains:
/domainsto see available domains - Match topic to domain: Find domain name matching new topic
- Filtered search:
ace_search <query> allowed_domains=<domain>
When not to use it
- →When the task does not involve implementation, modification, debugging, refactoring, or integration.
- →When there is no intention to capture lessons learned after work completion.
Limitations
- →Mandatory search before starting work.
- →Mandatory capture of lessons after completing work.
- →Re-search is triggered by topic shifts, extended work, errors, or new context.
How it compares
This skill enforces a mandatory search before and capture after coding tasks, along with dynamic re-searching, which differs from an ad-hoc approach to knowledge utilization.
Compared to similar skills
ace-pattern-learning side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| ace-pattern-learning (this skill) | 0 | 4mo | No flags | Beginner |
| serena | 15 | 9mo | Review | Advanced |
| clojure-write | 16 | 2mo | No flags | Intermediate |
| python-patterns | 6 | 2mo | Review | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
serena
massgen
This skill provides symbol-level code understanding and navigation using Language Server Protocol (LSP). Enables IDE-like capabilities for finding symbols, tracking references, and making precise code edits at the symbol level.
clojure-write
metabase
Guide Clojure and ClojureScript development using REPL-driven workflow, coding conventions, and best practices. Use when writing, developing, or refactoring Clojure/ClojureScript code.
python-patterns
affaan-m
Pythonic 惯用法、PEP 8 标准、类型提示以及构建健壮、高效、可维护的 Python 应用程序的最佳实践。
superpowers-workflow
anthonylee991
Enforces a disciplined workflow for coding, debugging, refactoring, and automation: brainstorm -> plan -> implement with verification (prefer TDD) -> review -> finish. Use for almost any non-trivial change.
dead-code
parcadei
Find unused functions and dead code in the codebase
agent-analyze-code-quality
ruvnet
Agent skill for analyze-code-quality - invoke with $agent-analyze-code-quality