-
Notifications
You must be signed in to change notification settings - Fork 12
Add CLAUDE.md documentation and agent skills #428
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
base: main
Are you sure you want to change the base?
Add CLAUDE.md documentation and agent skills #428
Conversation
- Add root CLAUDE.md with reference to AGENTS.md - Add AGENTS.md with comprehensive project guidelines including: - Build/test/lint commands - Architecture overview and key files - VS Code extension patterns - Coding standards and common mistakes to avoid - Review standards from PR history - Add subdirectory CLAUDE.md files for major directories: - src/providers/ - Provider patterns - src/projectManager/ - Migrations and sync - src/tsServer/ - Language server - src/utils/ - Utility modules - webviews/codex-webviews/ - React UI patterns - Add Claude skills in .claude/skills/: - add-ui-component - Adding UI elements - improve-llm-copilot - LLM/AI modifications - add-vscode-command - Command registration - Remove CLAUDE.md and AGENTS.md from .gitignore
- Add Self-Learning Protocol section to CLAUDE.md:
- On errors/struggles: update relevant CLAUDE.md
- On user corrections: fix docs to prevent recurrence
- On skill usage: review and update SKILL.md
- Update AGENTS.md session-end requirements:
- Self-learning triggers (file struggles, lookups, errors)
- Guidelines (concise, generic, target specific docs)
- Add file organization rule: plans/summaries to /plan/{slug}
- Add Post-Session Review section to all skills
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.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
|
INITIAL PROMPT Init claude Create a CLAUDE.md file in the root Be very concise, use pregnant terms (terms that pack a lot of meaning as a compression algorithm, instead of explaing a code best practice like DRY just say use DRY) |
|
FOLLOW-UP PROMPT Let's add self learning loops to it if a skill is used at the end of the session it must review the process; what didn't work; what mistakes where made; fix the SKILL so that future runs will not run into the same problems Never put plan or summary docs in the root directory. If you make those files (not required) they must go in the /plan/{slug} directory |
This commit initializes a basic CLAUDE.md (points to AGENTS.md for cross agent compatibility). I need this because gitignore is blocking these files so the agents are running dumb. While I could add it locally that doesn't help for remote workspaces like https://claude.ai/code/ where I have to re-explain this is a vs code and why it exists each time.
Before you accept it
Your .gitignore was ignoring these files meaning you may have local versions better than this. It would be better to have everyone share their files and already tested optimizations and incorporate them.
Add root CLAUDE.md with reference to AGENTS.md
Add AGENTS.md with comprehensive project guidelines including:
Add subdirectory CLAUDE.md files for major directories:
Add Claude skills in .claude/skills/:
Remove CLAUDE.md and AGENTS.md from .gitignore