AI Self-Learning Meta Skill
Paste the following prompt into your AI chat to install this skill:
Please follow the guide at https://skillhub.cn/install/skillhub.md to install @user_3c6cb52e/self-learning-wdza into your AI assistant.
About this skill
Problem: debugging knowledge is hard to retain
In real engineering work, many working paths come from repeated trial and error: finding the right environment variables, respecting an implicit deployment order, and knowing which failing command should not be retried. Once the session ends, that context is easy to lose, so the next session may search again, guess again, and hit the same traps.
How the skill works
This skill converts recently completed work into a structured SKILL.md rather than saving one-off answers. It first checks whether the material qualifies: the path has been validated, its failure modes can be named, and at least one dead end was tried and ruled out. It then chooses project-level or global scope, de-duplicates existing skills, and extracts the golden path, including exact commands, file paths, environment variable names, required order, and approaches to avoid. Finally, it writes the skill to the target directory and reports a one-line summary to the user.
Boundaries
It is intended for multi-step, reusable workflows that are likely to recur, not single facts or one-time fixes. Project-specific paths should default to project scope; global scope is better for cross-repository habits. Secret values must not be written into skill files; only their locations should be recorded. Names must follow lowercase letters, digits, and hyphens, and the main file should remain concise.
Use Cases
- Capture a validated database connection path, including the right environment variables and command order, as a project skill.
- After a successful deployment and verification, save the verified commands, failure modes, and ruled-out paths for reuse.
- When credentials and non-obvious script order are discovered, decide whether to save a fact or distill a reusable workflow.
- When the user asks to remember or save a process, de-duplicate, extract the golden path, and report where it was stored.
Best For
- Engineers maintaining internal ops scripts who want database, deployment, and log workflows saved as reusable skills.
- Engineers using Claude Code or Codex who want project-specific command order reused across sessions without re-explaining context.
- SREs doing incident retros who want ruled-out failure causes and successful diagnostics recorded as trusted skills.
- Tech leads managing shared repos who want teams to write reusable workflows as project skills without leaking secrets.
Related Skills
A free matrix publishing assistant for Skill developers, guiding distribution to Tencent SkillHub, XiaLiao, XiaYou SkillHub, GitHub, and ClawHub with create, update, and delete safeguards.
A guide for writing Seedance 2.0 video prompts, covering @ references, camera moves, time segments, audio direction, and common pitfalls.
Collects daily conversations, task logs, and errors, then runs a nine-module review to surface blind spots, generate actions, and update memory.
Local long-term memory for AI agents that appends key facts and daily logs, supports cross-session context and search recall, and auto-archives old diaries to gzip files.