1.4 KiB
1.4 KiB
| description |
|---|
| Regenerate AI agent docs (AGENTS.md, CLAUDE.md, .cursorrules, etc.) across all repos |
Update Agent Docs Across Workspace
Regenerates all 8 AI agent configuration files across all repos in the workspace.
Files Generated Per Repo
| File | Tool |
|---|---|
AGENTS.md |
Universal (OpenAI Codex, Claude, Copilot, etc.) |
CLAUDE.md |
Claude Code |
.cursorrules |
Cursor AI |
.github/copilot-instructions.md |
GitHub Copilot |
.windsurfrules |
Windsurf / Cascade |
.clinerules |
Cline / Roo Code |
.aider.conf.yml |
Aider |
.editorconfig |
All editors |
Steps
- Run the update script:
cd /Users/sd9235/code/mygh/learning_ai_common_plat
./scripts/update-agent-docs.sh
- Review changes per repo:
cd /Users/sd9235/code/mygh/learning_voice_ai_agent && git diff --stat
cd /Users/sd9235/code/mygh/learning_multimodal_memory_agents && git diff --stat
# ... etc for all repos
- Commit changes (if any):
cd /Users/sd9235/code/mygh/learning_voice_ai_agent
[ -n "$(git status --porcelain)" ] && git add -A && git commit -m "chore(docs): update agent configuration files"
Notes
- The script scans each repo's structure and regenerates docs based on current state
- Only commits if there are actual changes
- Safe to run repeatedly (idempotent)
- Requires
learning_ai_common_platto be the source of truth for templates