continual-learning

द्वारा microsoft

एआई कोडिंग एजेंटों में निरंतर सीखने को लागू करने के लिए मार्गदर्शिका — हुक, मेमोरी स्कोपिंग, प्रतिबिंब पैटर्न। एजेंटों के लिए सीखने का बुनियादी ढांचा स्थापित करते समय उपयोग करें।

npx skills add https://github.com/microsoft/skills --skill continual-learning

Continual Learning for AI Coding Agents

Your agent forgets everything between sessions. Continual learning fixes that.

The Loop

Experience → Capture → Reflect → Persist → Apply
     ↑                                       │
     └───────────────────────────────────────┘

Quick Start

Install the hook (one step):

cp -r hooks/continual-learning .github/hooks/

Auto-initializes on first session. No config needed.

Two-Tier Memory

Global (~/.copilot/learnings.db) — follows you across all projects:

  • Tool patterns (which tools fail, which work)
  • Cross-project conventions
  • General coding preferences

Local (.copilot-memory/learnings.db) — stays with this repo:

  • Project-specific conventions
  • Common mistakes for this codebase
  • Team preferences

How Learnings Get Stored

Automatic (via hooks)

The hook observes tool outcomes and detects failure patterns:

Session 1: bash tool fails 4 times → learning stored: "bash frequently fails"
Session 2: hook surfaces that learning at start → agent adjusts approach

Agent-native (via store_memory / SQL)

The agent can write learnings directly:

INSERT INTO learnings (scope, category, content, source)
VALUES ('local', 'convention', 'This project uses Result<T> not exceptions', 'user_correction');

Categories: pattern, mistake, preference, tool_insight

Manual (memory files)

For human-readable, version-controlled knowledge:

# .copilot-memory/conventions.md
- Use DefaultAzureCredential for all Azure auth
- Parameter is semantic_configuration_name=, not semantic_configuration=

Compaction

Learnings decay over time:

  • Entries older than 60 days with low hit count are pruned
  • High-value learnings (frequently referenced) persist indefinitely
  • Tool logs are pruned after 7 days

This prevents unbounded growth while preserving what matters.

Best Practices

  1. One step to install — if it takes more than cp -r, it won't get adopted
  2. Scope correctly — global for tool patterns, local for project conventions
  3. Be specific — "Use semantic_configuration_name=" beats "use the right parameter"
  4. Let it compound — small improvements per session create exponential gains over weeks

microsoft की और Skills

a365-code-validator
microsoft
एजेंट 365 ऑब्ज़र्वेबिलिटी कोड को मान्य करता है और वैकल्पिक रूप से ठीक करता है ताकि एजेंट वास्तव में MAC गतिविधि टेलीमेट्री उत्सर्जित करे। तब उपयोग करें जब एजेंट 365 एजेंट की टेलीमेट्री नहीं…
a365-setup
microsoft
एजेंट 365 (A365) पंजीकरण और CLI सेटअप के लिए प्रवेश बिंदु — इस स्किल का उपयोग तब करें जब उपयोगकर्ता "A365 सेटअप करें", "एजेंट पंजीकृत करें", "बनाएं…
aca-sandboxes
microsoft
Use when the user wants to create, manage, or operate Azure Container Apps sandboxes — hardware-isolated microVMs driven by the `aca` CLI. USE FOR: create…
accessibility
microsoft
VS Code के लिए प्राथमिक अभिगम्यता कौशल। नई सुविधा और योगदान कार्य के लिए आवश्यक, और मौजूदा UI के अपडेट पर भी लागू होता है। अभिगम्यता सहायता को शामिल करता है…
accessibility
microsoft
WCAG 2.2, ARIA लेखन अभ्यास, संज्ञानात्मक पहुँच, धारा 508, EN 301 549, और पहुँच… के लिए समेकित पहुँच कौशल प्रवेश बिंदु।
accessibility-aria-expert
microsoft
React/Fluent UI वेबव्यू में पहुँच संबंधी समस्याओं का पता लगाता है और उन्हें ठीक करता है। स्क्रीन रीडर संगतता के लिए कोड की समीक्षा करते समय, ARIA लेबल ठीक करते समय, सुनिश्चित करते समय उपयोग करें…
action-item-extractor
microsoft
बैठक की सामग्री से स्वामियों, समय-सीमाओं और प्राथमिकताओं के साथ कार्य-वस्तुएं निकालें
activate-site
microsoft
प्लगइन जाँच : नोड "${CLAUDE_PLUGIN_ROOT}/scripts/check-version.js" चलाएँ — यदि यह कोई संदेश आउटपुट करता है, तो आगे बढ़ने से पहले इसे उपयोगकर्ता को दिखाएँ।