بنقرة واحدة
learner
Extract hard-won principles from the current session and save as reusable learned skills.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Extract hard-won principles from the current session and save as reusable learned skills.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
UI/UX design intelligence with searchable database
Generate comprehensive implementation plans through systematic discovery, synthesis, verification, and decomposition into beads. Use when asked to plan a feature, create a roadmap, design an implementation approach, or decompose work into trackable issues. Do NOT use for simple one-step tasks, quick fixes, or when the user just wants to execute an existing plan — use the work skill instead.
Execute a plan or direct task with worker delegation and verification.
Deep investigation mode. Gather context, analyze, synthesize recommendations without making code changes.
Fetch up-to-date library documentation via Context7 MCP. Use when working with external libraries, APIs, or frameworks.
Start interview-driven planning with Prometheus. Asks clarifying questions before generating implementation plan.
استنادا إلى تصنيف SOC المهني
| name | learner |
| description | Extract hard-won principles from the current session and save as reusable learned skills. |
| argument-hint | [--from-session | --from-diff | <topic>] |
| allowed-tools | Read, Write, Edit, Bash, Glob, Grep, AskUserQuestion |
| disable-model-invocation | true |
Capture non-obvious, context-specific insights from your current work and save them as reusable skill files that Maestro can inject into future sessions.
--from-session — Analyze the current session for learnings (default)--from-diff — Analyze recent git diff for patterns<topic> — Extract learnings about a specific topic.claude/skills/learned/ before saving duplicates.Every extracted principle MUST pass ALL four gates:
| Gate | Question | Fail Example |
|---|---|---|
| Non-Googleable | Would a developer find this in docs/Stack Overflow? | "Use async/await for promises" |
| Context-Specific | Is this specific to THIS project or domain? | "Always validate input" (too generic) |
| Actionable | Can someone act on this immediately? | "The system is complex" (observation, not action) |
| Hard-Won | Did this cost time/debugging to discover? | "TypeScript has interfaces" (trivial) |
Based on the argument:
--from-session (default):
--from-diff:
git diff HEAD~5..HEAD (or appropriate range)<topic>:
For each candidate learning:
Show extracted principles to user:
AskUserQuestion(
questions: [{
question: "Save these learnings?",
header: "Learnings",
options: [
{ label: "Save all", description: "Save all extracted principles" },
{ label: "Select individually", description: "Choose which to save" },
{ label: "Discard", description: "Don't save any" }
],
multiSelect: false
}]
)
For each approved principle, create a skill file:
File: .claude/skills/learned/{slug}.md
---
name: {slug}
description: {one-line summary}
triggers:
- {keyword1}
- {keyword2}
priority: 200
---
# {Title}
## When This Applies
{Trigger conditions — when should this knowledge be surfaced?}
## The Principle
{The actual learning — what to do and why}
## Why This Matters
{What goes wrong without this knowledge}
## Evidence
{Where this was discovered — file paths, error messages, debugging session}
Slug derivation: Lowercase, hyphenated, max 5 words from the principle title.
Report what was saved:
.claude/skills/learned/*.md.claude/skills/*/SKILL.md)| Don't | Do Instead |
|---|---|
| Save code snippets | Save the principle behind the pattern |
| Save generic advice | Save project-specific insights |
| Save obvious things | Save things that took debugging to learn |
| Save without triggers | Always include trigger keywords for discoverability |