feat(rules): define Claude rule-skill manifest and template placeholder
Adds adapters/claude/rule-skills.tsv, mapping each technology- or situation-specific rule to a Claude skill name and trigger description. Replaces the hardcoded rule-loading block in the shared instructions template with a __RULE_LOADING__ placeholder so each client's build step can substitute its own loading mechanism without duplicating the shared orchestration text. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5
parent
3a3c66f290
commit
24e4d3f96b
@@ -0,0 +1,12 @@
|
|||||||
|
rule_file skill_name trigger
|
||||||
|
angular.md rules-angular Angular component, template, or RxJS/signal work
|
||||||
|
csharp.md rules-csharp C# or .NET implementation, review, or refactoring work
|
||||||
|
decision-rule.md rules-decision-rule evaluating requirements, ambiguous behavior, or technical choices that need a decision
|
||||||
|
definition-of-done.md rules-definition-of-done validating that a task is complete or ready for review
|
||||||
|
git.md rules-git Git operations such as commits, branches, or merges
|
||||||
|
microsoft.md rules-microsoft Microsoft 365, Azure DevOps, or Teams operations
|
||||||
|
refactoring.md rules-refactoring refactoring existing code without changing behavior
|
||||||
|
security.md rules-security any software development task: implementing, modifying, debugging, reviewing, testing, or configuring code, scripts, hooks, or infrastructure
|
||||||
|
typescript.md rules-typescript TypeScript or modern ECMAScript implementation work
|
||||||
|
ui-ux.md rules-ui-ux UI or UX design and interaction decisions
|
||||||
|
wpf.md rules-wpf WPF, XAML, or MVVM desktop UI work
|
||||||
|
@@ -2,24 +2,7 @@
|
|||||||
|
|
||||||
This instruction set is generated into the client-specific `AGENTS.md` and `CLAUDE.md` files. Do not edit generated copies.
|
This instruction set is generated into the client-specific `AGENTS.md` and `CLAUDE.md` files. Do not edit generated copies.
|
||||||
|
|
||||||
Always load and apply `rules/general.md` before starting any task.
|
__RULE_LOADING__
|
||||||
|
|
||||||
When programming, always load and apply `rules/security.md`. This includes implementing, modifying, debugging, reviewing, testing, and configuring software, scripts, hooks, infrastructure, and integrations.
|
|
||||||
|
|
||||||
Detect the languages, frameworks, tools, and change areas from the repository and the requested work. Load every applicable rule file before editing. Load all matching files when multiple technologies apply.
|
|
||||||
|
|
||||||
Load rule files when their subject applies:
|
|
||||||
|
|
||||||
- rules/angular.md for Angular work.
|
|
||||||
- rules/typescript.md for TypeScript work.
|
|
||||||
- rules/csharp.md for C# or .NET work.
|
|
||||||
- rules/wpf.md for WPF work.
|
|
||||||
- rules/ui-ux.md for UI or UX decisions.
|
|
||||||
- rules/microsoft.md for Microsoft 365, Azure DevOps, or Teams work.
|
|
||||||
- rules/git.md for Git operations.
|
|
||||||
- rules/refactoring.md for refactoring work.
|
|
||||||
- rules/definition-of-done.md when validating completion.
|
|
||||||
- rules/decision-rule.md when requirements, behavior, or technical choices need to be evaluated.
|
|
||||||
|
|
||||||
Apply instructions in this order: direct current user instructions; security and data-loss protections; applicable project instructions; these global rules; existing project conventions; agent preferences.
|
Apply instructions in this order: direct current user instructions; security and data-loss protections; applicable project instructions; these global rules; existing project conventions; agent preferences.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user