learning_ai_common_plat/.github
saravanakumardb1 c04ee5f054 feat(agent-docs): single-source-of-truth pattern for agent instructions
Establish a single canonical source for ecosystem-wide AI agent behavior
rules, eliminating duplication across the 8 agent-config files that each
repo used to maintain.

New canonical sources (this repo only):
- AI.dev/SKILLS/agent-behavior-guidelines.md  (Karpathy + ByteLyst rules)
- AI.dev/SKILLS/agent-onboarding.md           (read-order index)

Generator rewrite (scripts/update-agent-docs.sh):
- Deletes legacy files that duplicated AGENTS.md:
    .cursorrules, .windsurfrules, .clinerules, CLAUDE.md
- Regenerates .github/copilot-instructions.md as a thin pointer (no rules).
- Regenerates .aider.conf.yml and .editorconfig.
- Idempotently prepends a canonical-behavior-pointer block to AGENTS.md.
- Supports --dry-run and --no-commit flags.

Drift check (scripts/check-agent-docs-drift.sh):
- Fast marker-based check across all repos.
- Verifies legacy files absent, AGENTS.md pointer present, copilot/aider/
  editorconfig markers intact.

Workflow doc updated: .windsurf/workflows/repo_update-agent-docs.md

Repos.txt: added learning_ai_talk2obsidian (was missing from canonical list).

This repo's own agent files are migrated by the same generator:
- Removed: .cursorrules, .windsurfrules, .clinerules, CLAUDE.md
- Updated: AGENTS.md (pointer block prepended)
- Updated: .github/copilot-instructions.md (rewritten as pointer)
- Updated: .aider.conf.yml (canonical format)

Karpathy attribution: behavior rules adapted from
https://github.com/multica-ai/andrej-karpathy-skills
2026-05-23 11:55:19 -07:00
..
instructions docs(workspace): add coverage audit prompt 2026-03-21 12:40:12 -07:00
prompts docs(workspace): add health dashboard prompt 2026-03-21 12:40:51 -07:00
reports docs(workspace): add health dashboard prompt 2026-03-21 12:40:51 -07:00
workflows chore(ci): migrate to Gitea local CI, disable GitHub Actions 2026-03-22 20:13:02 -07:00
copilot-instructions.md feat(agent-docs): single-source-of-truth pattern for agent instructions 2026-05-23 11:55:19 -07:00
dependabot.yml chore(deps): add Dependabot config 2026-02-14 15:45:37 -08:00
pull_request_template.md feat(design-system): add design review PR template with screenshot requirement 2026-03-27 16:37:28 -07:00