-
Notifications
You must be signed in to change notification settings - Fork 1
feat: add continuous-learning skill repository and setup #57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,125 @@ | ||||||||||||||||||||||
| --- | ||||||||||||||||||||||
| name: continuous-learning | ||||||||||||||||||||||
| allowed-tools: Read, Write, Glob, Grep, Bash, TodoWrite | ||||||||||||||||||||||
| description: Extract and persist reusable knowledge from debugging sessions into the skills repository | ||||||||||||||||||||||
| --- | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| # /continuous-learning — Extract debugging knowledge | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| Persist non-obvious solutions discovered during tasks as new skills in the skills repository. | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| ## When to Use | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| | Trigger | Example | | ||||||||||||||||||||||
| |---------|---------| | ||||||||||||||||||||||
| | Solved obscure bug after hours of debugging | Finally fixed that race condition no Stack Overflow mentioned | | ||||||||||||||||||||||
| | Found undocumented API behavior | Discovered retry logic needed for flaky endpoint | | ||||||||||||||||||||||
| | Created reusable workflow | Built a deployment pipeline others could use | | ||||||||||||||||||||||
| | Discovered tool gotcha | Learned bun handles imports differently than node | | ||||||||||||||||||||||
| | Session ending with valuable insight | About to close terminal with hard-won knowledge | | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| ## Before Creating | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| Check if skill already exists: | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| ```bash | ||||||||||||||||||||||
| ls ~/dotfiles/dotagents/skills/ | ||||||||||||||||||||||
| ``` | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| If a similar skill exists, consider updating it instead of creating a new one. | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| ## Quick Workflow | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| ```bash | ||||||||||||||||||||||
| # 1. Check skill doesn't already exist | ||||||||||||||||||||||
| ls ~/dotfiles/dotagents/skills/ | grep -i <skill-name> && echo "Skill exists!" && exit 1 | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| # 2. Create skill directory | ||||||||||||||||||||||
| cd ~/dotfiles/dotagents | ||||||||||||||||||||||
|
Comment on lines
+35
to
+38
|
||||||||||||||||||||||
| git checkout main && git pull origin main | ||||||||||||||||||||||
| mkdir -p skills/<skill-name> | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| # 3. Write SKILL.md | ||||||||||||||||||||||
| cat > skills/<skill-name>/SKILL.md << 'SKILL' | ||||||||||||||||||||||
| --- | ||||||||||||||||||||||
| name: <skill-name> | ||||||||||||||||||||||
| allowed-tools: Read, Write, Bash, TodoWrite | ||||||||||||||||||||||
| description: <one-line description with specific trigger words> | ||||||||||||||||||||||
| --- | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| # /<skill-name> — <Short title> | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| <Brief description of what this skill does> | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| ## When to Use | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| | Trigger | Example | | ||||||||||||||||||||||
| |---------|---------| | ||||||||||||||||||||||
| | <condition> | <example> | | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| ## Quick Workflow | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| ```bash | ||||||||||||||||||||||
| # Key commands or steps | ||||||||||||||||||||||
| ``` | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| ## Guidelines | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - Key point 1 | ||||||||||||||||||||||
| - Key point 2 | ||||||||||||||||||||||
| SKILL | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| # 4. Commit, create PR, and return to main | ||||||||||||||||||||||
| git checkout -b feat/<skill-name>-skill | ||||||||||||||||||||||
| git add skills/<skill-name> | ||||||||||||||||||||||
| git commit -m "feat: add <skill-name> skill" | ||||||||||||||||||||||
| git push -u origin feat/<skill-name>-skill | ||||||||||||||||||||||
| gh pr create --title "feat: add <skill-name> skill" --body "Add skill for..." | ||||||||||||||||||||||
| git checkout main | ||||||||||||||||||||||
| ``` | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| ## Extraction Criteria | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| Ask before extracting: | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| 1. **Exists?** — Check if skill already exists in the repository | ||||||||||||||||||||||
| 2. **Discovered?** — Not just read from documentation | ||||||||||||||||||||||
| 3. **Reusable?** — Helps in future similar situations | ||||||||||||||||||||||
| 4. **Non-trivial?** — Would take time to rediscover | ||||||||||||||||||||||
| 5. **Verifiable?** — Has clear verification steps | ||||||||||||||||||||||
|
Comment on lines
+85
to
+89
|
||||||||||||||||||||||
| 1. **Exists?** — Check if skill already exists in the repository | |
| 2. **Discovered?** — Not just read from documentation | |
| 3. **Reusable?** — Helps in future similar situations | |
| 4. **Non-trivial?** — Would take time to rediscover | |
| 5. **Verifiable?** — Has clear verification steps | |
| - **Exists?** — Check if skill already exists in the repository | |
| 1. **Discovered?** — Not just read from documentation | |
| 2. **Reusable?** — Helps in future similar situations | |
| 3. **Non-trivial?** — Would take time to rediscover | |
| 4. **Verifiable?** — Has clear verification steps |
Copilot
AI
Jan 19, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The path reference ~/dotfiles/dotagents/skills/ hardcodes a specific repository location. This violates the workspace file reference guidelines and reduces portability. Consider using a relative path or environment variable instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The path
~/dotfiles/dotagents/skills/assumes a specific repository location on the user's system. This violates the workspace file reference guidelines which state to avoid referring to the dotagents directory. Consider using a relative path or environment variable to make this more portable and consistent with the repository structure.