AC

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.zip

Installs 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.
149 charsno explicit “when” trigger
Beginner

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

You give it
Coding task (implement, debug, refactor)
You get back
Search results from playbook and captured lessons learned

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 accomplished
  • success: true/false
  • output: Start with TIME_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:

  1. List domains: /domains to see available domains
  2. Match topic to domain: Find domain name matching new topic
  3. 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.

SkillInstallsUpdatedSafetyDifficulty
ace-pattern-learning (this skill)04moNo flagsBeginner
serena159moReviewAdvanced
clojure-write162moNo flagsIntermediate
python-patterns62moReviewBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry