ai-mentor-update
A maintenance tool for keeping ai-mentor plugin goals, approach files, and catalogs updated.
Install
mkdir -p .claude/skills/ai-mentor-update && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/19097" && unzip -o skill.zip -d .claude/skills/ai-mentor-update && rm skill.zipInstalls to .claude/skills/ai-mentor-update
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.
Maintenance skill for the ai-mentor plugin. Audits structure, verifies content accuracy against current tool docs, and detects recent tool changes. Each step is optional — the user picks what to run, or passes --auto for a non-interactive run (CI).Key capabilities
- →Audit structural consistency of goal and approach files
- →Verify content accuracy against current tool documentation
- →Process new changelog digests
- →Synchronize the plugin catalog
- →Generate a markdown report of applied and unapplied changes
How it works
The skill operates in interactive or non-interactive modes, performing structural audits, content verification, changelog processing, and plugin catalog synchronization based on user selection or `--auto` arguments. It generates a report detailing all modifications.
Inputs & outputs
When to use ai-mentor-update
- →Syncing plugin catalog
- →Updating documentation
- →Headless CI maintenance
About this skill
AI Mentor Update
You are a content maintenance tool for the ai-mentor plugin. Your job is to keep the goal and approach files structurally consistent, factually accurate, and up to date.
All paths below are relative to the repo root.
Modes
Interactive (default): follow the steps as written, asking the user at each decision point.
Non-interactive (--auto): when $ARGUMENTS contains --auto, never ask a question and never wait for input — there is no user present (this mode runs headless in CI). Parse from the arguments:
--auto <steps>— comma-separated step numbers to run, using the Step headings below (2 = structural audit, 3 = content verification, 4 = process new changelogs, 5 = plugin catalog sync), e.g.--auto 4,5--files N— Step 3 scope: process the N oldest-verified files (default: 5)
The routine weekly run is --auto 4,5: process new changelogs and sync the plugin catalog. Steps 2 and 3 are deeper audits for occasional use — Step 2 largely duplicates the CI gate, and Step 3 re-verifies old content that changelog processing doesn't touch.
Auto-mode overrides, in addition to skipping every question below:
- Step 2: apply only unambiguous structural fixes (broken separator, wrong field order); report anything requiring judgment instead of fixing it. Note: CI also runs the catalog lint (
go -C tools/catalog-lint run .) as a deterministic gate — prefer reporting over creative fixing. - Step 3: process the N oldest-verified files with no per-file pause. Apply only changes that meet the "Recommended changes" bar (official-tier source + direct quote); list everything else under "needs manual verification" in the report without applying it.
- Step 4: process every digest not yet in the ledger; same evidence bar as Step 3; always append the ledger row for each processed digest.
- Step 5: apply additions and removals directly — the GitHub API response is authoritative.
- Never run
git commit,git push, or create branches — the calling workflow owns git. - Final output: end with a single markdown report (the caller uses it as a PR body) with two sections: Changes applied (file, change, source URL, supporting quote) and Not applied (finding + why it needs a human). If nothing changed, say so explicitly.
Step 1 — Setup
Run date +%Y-%m-%d via bash to establish today's date.
Then ask the user which steps to run. The menu numbers are the Step headings below — the same numbers --auto uses, so "4" means the same thing interactively and in CI:
Which maintenance steps do you want to run?
- Structural audit — check all files against templates, cross-references, staleness
- Content verification — web-search claims in files against current tool docs
- Process new changelogs — incorporate what's-new digests not yet listed in
processed-changelogs.md- Plugin catalog sync — check
claude-plugins-officialfor new or removed plugins not yet reflected inmarketplace.mdor the promotedapproaches/tools/You can pick any combination (e.g. "all", "2 and 4", "just 5"). The routine pass is 4 and 5; the others are occasional deep audits.
Wait for the user's response, then run the selected steps in order. (Auto mode: skip the question — the steps come from --auto.)
Step 2 — Structural audit
Skip this step if the user did not select it.
Read templates/technique.md (technique deep-dives — prose files under approaches/techniques/) and templates/record.md (flat records — pure YAML-frontmatter files under approaches/tools/) from this skill's directory for the two approach-file structures; the playbooks-table structure is specified inline below.
Playbook files
For each per-goal file in skills/mentor/playbooks/:
*Last verified: YYYY-MM-DD*on line 2- One
playbooks/<slug>.mdfile per goal in problem-mode.md's classification table (and no extras) - Each file: a
**Hidden gem:**line naming an approach that appears in its rows, and a ranked shortlist with sequential numbering, at least 3 rows, and approach links that resolve - Row content: "Best when" is one short clause; "Why it fits" is one sentence of goal-specific judgment — flag rows that have drifted into generic filler
- The shortlist is curated, not exhaustive: top picks plus the hidden gem. Every technique file must still be ranked by at least one playbooks file (the audit's orphan check)
Technique files
For each technique deep-dive in skills/mentor/approaches/techniques/:
Section order check — verify these sections exist in this order:
# [Title]*Last verified: YYYY-MM-DD*(line 2)## What It Is## Why It Works## When to Use It## When NOT to Use It## How It Works### Basic (Beginner)### Composing with Other Approaches (Intermediate)### Advanced Patterns
## Common Pitfalls## Real-World Example— optional; kept only where the example embeds exact syntax not shown elsewhere in the file. When present it sits between Common Pitfalls and Sources.## Sources(at least one entry, each a markdown link with a one-line description)## Signals(both a- Setup:and a- Session:line;—for a tier with no signal)
Line count check — flag files under 40 lines.
No sub-sections in Basic — ### Basic (Beginner) should not contain bold sub-headers acting as sub-sections.
Record files and the index
For the flat record files in skills/mentor/approaches/tools/ (pure YAML frontmatter — kind: plugin, integration, or doc; the filename is its id) and the marketplace directory (marketplace.md):
- Records: valid
----delimited YAML with alast_verified: YYYY-MM-DDfield; free-text values double-quoted. Techniques and playbooks keep the*Last verified:*line-2 marker (*Last synced*for the plugin catalog) approaches/index.mdis generated — never hand-edit it. After changing playbooks rows, a technique's## Signalssection, or a record file, rungo -C tools/approaches-index run .and commit the regenerated file (CI fails on a stale index)- Every record (any kind) is a ranked row in at least one playbooks table and carries NO inline
goals:/best_when:— both derive from its rows. Capability lines (**Plugins:**/**Built-ins:**/**Integrations:**) are forbidden: the ranking is the only routing surface - Built-in slash commands have no records at all — each lives inside its covering technique deep-dive (
/code-reviewet al. inbuilt-in-review-skills,/goal+/loopinautonomous-loops,/scheduleinscheduled-agents,/initinproject-memory) - Every
kind: pluginrecord has nomarketplace.mdrow (promotion removes the directory row)
The Go audit (go -C tools/catalog-lint run .) enforces all of this deterministically — run it first; this checklist explains its failures.
Cross-references
- Every ranked-row link (
../approaches/techniques/<name>.mdor../approaches/tools/<name>.md) in goal files must point to an existing file. - Every approach file must be referenced by at least one goal file.
- Report orphan and missing approach files.
Staleness
- Parse
*Last verified: YYYY-MM-DD*(techniques, playbooks) andlast_verified:(records) from every file. - Flag files with a date older than 90 days from today.
Output
Present the audit results:
## Audit Results
- Goals: N files, N issues
- Approaches: N files, N issues
- Cross-references: N orphans, N missing
- Staleness: N files older than 90 days
### Issues
[List each issue with file path, issue type, and details]
If there are structural issues, ask the user whether to fix them now or continue. Apply confirmed fixes before proceeding. (Auto mode: apply only unambiguous fixes, report the rest.)
Step 3 — Content verification
Skip this step if the user did not select it.
Ask the user:
Verify all files or a specific one?
- All files — check every goal and approach file (oldest-reviewed first)
- Specific file — enter a path, e.g.
approaches/plan-mode.md, orplaybooks/<goal>.mdfor one goal's rankings
Wait for the user's response. (Auto mode: skip the question — process the --files N oldest-verified files.)
For each file in scope, use web search to verify claims against current tool documentation. Target official sources: tool documentation, changelogs, GitHub releases, official blogs.
For approach files, check:
- Feature accuracy: Does Claude Code actually support what's described? Has the feature been renamed, changed, or removed?
- Command syntax: Are CLI commands, flags, and slash commands still correct?
- Missing features: Are there significant new Claude Code features related to this approach that the file doesn't mention?
- "How It Works" accuracy: Are the step-by-step instructions still correct?
For the goal routing files (playbooks/<goal>.md), also check:
- Rankings: Is the most broadly useful approach ranked first per goal?
- Hidden gems: Does each still name the most non-obvious high-value approach, present in its section's rows?
- Missing approaches: Cross-check against all approach files — is any relevant approach missing from a goal's shortlist?
- Misplaced approaches: Are any rows a poor fit for their goal?
Output
For each file with issues:
### [filename] — NEEDS UPDATE
- [what's wrong] → [proposed fix] (source: [URL])
Ask the user which fixes to apply. For each confirmed fix, edit the file — and because this step verifies the file's claims against current docs, update its *Last verified* date to today.
If processing all files, ask after each file whether to continue to the next one or stop. (Auto mode: no per-file pause; apply Recommended-bar fixes directly and collect the rest for the report.)
Step 4 — Process new changelogs
*Skip this step if the user did not select
Content truncated.
When not to use it
- →When the user is not present for interactive decisions
- →When the calling workflow manages git operations like commit or push
- →When changes are based solely on training data
Limitations
- →Does not run `git commit`, `git push`, or create branches
- →Does not propose changes based on training data alone
- →Does not silently drop findings
How it compares
This skill automates the maintenance of plugin content and catalog synchronization, whereas manual processes would involve individual checks and updates.
Compared to similar skills
ai-mentor-update side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| ai-mentor-update (this skill) | 0 | 15d | Review | Intermediate |
| notion-knowledge-capture | 10 | 8mo | No flags | Intermediate |
| feishu-doc | 14 | 5mo | No flags | Intermediate |
| openspec-continue-change | 4 | 5mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
notion-knowledge-capture
makenotion
Transforms conversations and discussions into structured documentation pages in Notion. Captures insights, decisions, and knowledge from chat context, formats appropriately, and saves to wikis or databases with proper organization and linking for easy discovery.
feishu-doc
openclaw
Feishu document read/write operations. Activate when user mentions Feishu docs, cloud docs, or docx links.
openspec-continue-change
studyzy
通过创建下一个产出物继续处理 OpenSpec 变更。当用户想要推进其变更、创建下一个产出物或继续其工作流程时使用。
kimi-cli-help
MoonshotAI
Answer Kimi Code CLI usage, configuration, and troubleshooting questions. Use when user asks about Kimi Code CLI installation, setup, configuration, slash commands, keyboard shortcuts, MCP integration, providers, environment variables, how something works internally, or any questions about Kimi Code CLI itself.
openspec-archive-change
studyzy
归档实验性工作流中已完成的变更。当用户想要在实现完成后最终确定并归档变更时使用。
feishu-perm
m1heng
Feishu permission management for documents and files. Activate when user mentions sharing, permissions, collaborators.