diff --git a/adapters/claude/rule-skills.tsv b/adapters/claude/rule-skills.tsv new file mode 100644 index 0000000..3b2b215 --- /dev/null +++ b/adapters/claude/rule-skills.tsv @@ -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 diff --git a/shared/global-instructions.md b/shared/global-instructions.md index 7fdd31c..4838a70 100644 --- a/shared/global-instructions.md +++ b/shared/global-instructions.md @@ -2,24 +2,7 @@ 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. - -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. +__RULE_LOADING__ 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.