Skip to content

Replace Claude skills generation with path-scoped rules#84

Open
Kush Agrawal (kush-duolingo) wants to merge 1 commit into
masterfrom
replace-claude-skills-with-rules
Open

Replace Claude skills generation with path-scoped rules#84
Kush Agrawal (kush-duolingo) wants to merge 1 commit into
masterfrom
replace-claude-skills-with-rules

Conversation

@kush-duolingo
Copy link
Copy Markdown
Contributor

@kush-duolingo Kush Agrawal (kush-duolingo) commented May 18, 2026

Description

  • Replace SkillsGenerator (.claude/skills/generated_*/SKILL.md) with ClaudeRulesGenerator (.claude/rules/generated/*.md) that uses paths frontmatter for file-scoped activation
  • Add auto-symlink from .claude/skills/agents to .agents/skills/ so Claude Code discovers skills from the standard Agent Skills location
  • Skills should now be authored directly in .agents/skills/ following the open standard (supported by Cursor, Codex, Copilot, and 30+ tools) -- no sync needed

Context: https://duolingo.slack.com/archives/C08TV2ZB4SE/p1778708293248929

Verification steps

  • make test passes
  • Run python3 -m sync_ai_rules in a repo with .cursor/rules/ and verify .claude/rules/generated/ is populated with paths frontmatter

Skills follow the Agent Skills open standard (agentskills.io) and should
be authored directly in .agents/skills/ -- no sync needed. This tool now
focuses on rules (guidance/conventions) which still need per-tool sync.

- Replace SkillsGenerator (.claude/skills/generated_*/SKILL.md) with
  ClaudeRulesGenerator (.claude/rules/generated/*.md with paths frontmatter)
- Add symlink from .claude/skills/agents to .agents/skills/ so Claude Code
  discovers skills from the standard location
- Update plugins.yaml, test fixtures, and README

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant