retro-private-skills
Reflect reusable learnings into a private Agent Skills repository, align affected skills' frontmatter with their workflows, keep the generated skills index…
от aktsmm★ 27 звёзд на GitHub
Установить retro-private-skills в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
retro private skills
Reflect reusable learnings from a session, incident, diff, error, or prompt into the user's private skill repository. The default output is a focused change under the private repo's .github/skills/<skill>/ tree. Do not convert these learnings into personal instructions, prompts, memories, agents, workspace files, or public sync output.
When to Use
- User says: private skill retro, private skill repo, skill repo authoring, private skill fix, retro private skills,
/retro-private-skills - User provides Learnings / Evidence / Impact and wants them reflected into reusable Skill behavior
- User wants to create or update private repo
SKILL.md/references/* - A prior attempt wrote to
~/.copilot/instructions,copilot-instructions.md, or local.copilotskills, and the user wants the private repo Skill version instead
Inputs
Accept one or more of: error log, Git diff, conversation summary, terminal history, target skill name, private repo path, or mode (safe-auto, review-only, dry-run, プレビュー). If none are present, stop with 入力不足 and ask for the missing input.
Hard Scope Gate
Allowed write targets are limited to:
<private-repo>/.github/skills/<skill>/SKILL.md<private-repo>/.github/skills/<skill>/references/*<private-repo>/.github/skills/<skill>/scripts/*<private-repo>/.github/skills/<skill>/assets/*<private-repo>/.github/skills/README.md, only by regenerating it with the repo's own generator (see Apply)
Never write to these targets for this workflow unless the user explicitly asks to improve that exact asset:
- user-wide instructions, configuration, and installed Skill mirrors on any host
- workspace
.github/**,AGENTS.md, or repository-specific instructions - memories, public sync output or remote targets other than the verified private origin authorized by safe-auto
If the best target appears to be an instruction, prompt, memory, or agent, stop with scope 不一致. For this skill, New Skill Proposal means a proposed or created .github/skills/<new-skill>/SKILL.md, not an instruction file. Content written back to a skill must be self-contained and portable; do not depend on a workspace file, memory note, local absolute path, or environment-specific ledger remaining available, and do not name another skill or delegate rules to it (describe out-of-scope work generically).
Intake Pre-Step (optional)
Intake is a separate, explicit pre-step that brings existing skills into the private repo from a local Copilot skill mirror or from a workspace's .github/skills/<skill>. Skip it for a normal retro. When requested, follow Private Skill Intake Workflow; only the mirror pre-step may write under <private-repo>/copilot-skills/**, while curated authoring remains under .github/skills/<skill>/.
Private Repo Resolution
Resolve the private repo root in this order:
- Explicit private repo path from the user
SYNC_PUBLIC_SKILLS_PRIVATE_REPOfrom Process/User/Machine environment; if$env:is empty, explicitly check[Environment]::GetEnvironmentVariable(name, 'Process'/'User'/'Machine')before declaring it unset- Parent repo inferred from
SYNC_PUBLIC_SKILLS_SCRIPT - Current workspace only if it contains
.github/skills/and is clearly the private skill repo
After resolution, verify that .github/skills/ exists. If not, stop with private repo 未解決.
Mode
- Default:
safe-auto review-only,dry-run, orプレビュー: propose target changes and stop before editing- In
safe-auto, edit directly when scope is clear, the safety gate passes, and the change is small or medium - Confirm unclear scope, new privileges/destinations/visibility/defaults, destructive deletion or uncertain sensitive data. Otherwise use safe-auto without reapproval; read-only and holds take precedence.
- In
safe-auto, create a focused local commit and push it in the same run. There is no ahead-count threshold: several PCs share this repo, so a local commit left behind means the next machine starts from a stale tree. Invoking this skill counts as the push approval. To keep a draft local instead, usereview-onlyordry-run. - Git gate: classify dirty/history, preserve unrelated work, and verify only authorized private-skill commits will be pushed. A conflict-free normal merge is allowed after scope inspection and integration validation; conflicts, rebase, force push, or history rewriting require preserving state and stopping. Refresh remote refs immediately before push. Details: Git Safety Procedure.
- Do not run public, internal, or EMU sync from this skill. If distribution is needed, state in the completion report that a separate distribution sync is needed and leave it to the repository's sync workflow.
Routing Rules
- Extract each item into
Learning / Evidence / Impact. - Prioritize by
Impact x Recurrenceas P1/P2/P3. - Inspect existin
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- LICENSE.txt
- references/authoring-rules.md
- references/git-safety.md
- references/intake-workflow.md
FAQ
Что делает скилл retro-private-skills?
Reflect reusable learnings into a private Agent Skills repository, align affected skills' frontmatter with their workflows, keep the generated skills index README current, and commit/push in safe-auto. Use for private skill retro, private SKILL.md or frontmatter fixes, or explicit skill intake. Not for editing installed skills or live workspace or user-wide assets.
Как установить скилл retro-private-skills?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл retro-private-skills запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…