diff --git a/shared/global-instructions.md b/shared/global-instructions.md index 8148908..d56c2f3 100644 --- a/shared/global-instructions.md +++ b/shared/global-instructions.md @@ -6,7 +6,7 @@ For credentials, run the child command through `~/.my-ai-configuration/bin/with- Load rules just in time. First identify the changed area, languages, frameworks, tools, and security or workflow concerns from the task and nearby files. Then load only rules whose triggers match; never preload or recursively read the complete rules tree. -For Codex, read the listed rule path directly. For Claude, invoke the matching `rules-*` skill by its exact name. When a technology directory applies, load its index skill/file first, then load only the topic skills/files that match the work. An index is a small routing map, not a request to load every linked topic. Load cross-cutting rules independently when their stated trigger applies. If a needed rule is not listed or installed, continue with applicable rules and repository conventions. +For Codex, read the listed rule path directly. For Claude, invoke the matching `rules-*` skill by its exact name. When a technology directory applies, load its index skill/file first, then load only the topic skills/files that match the work. Load cross-cutting rules independently when their stated trigger applies. If a needed rule is not listed or installed, continue with applicable rules and repository conventions. Changes to or reviews of code, scripts, hooks, tests, infrastructure, integrations, or executable configuration: `rules/security/index.md` / `rules-security`. Skip it for prose-only changes. diff --git a/shared/rules/general.md b/shared/rules/general.md index 6e3f50d..370fb56 100644 --- a/shared/rules/general.md +++ b/shared/rules/general.md @@ -8,8 +8,8 @@ Use one applicable workflow per task, with the research gates below for searches Never create or switch branches or worktrees unless the user explicitly requests it; stay on the current branch and do not ask about it. Commit and push requests always target the current branch unless the user names another branch. -For development tasks (code, script, hook, configuration, or UI changes; debugging; code review), MUST apply `plugin-workflow` before the first action, on resume, and at phase changes. Skip it for questions and prose-only changes. It coordinates Superpowers, Ponytail, Impeccable, Modern Web Guidance, i-have-adhd, and Caveman; reuse loaded instructions and preserve user opt-outs. -When writing or substantially rewriting prose read outside the chat (documentation, READMEs, comments, commit or PR bodies, UI copy, messages), MUST apply `humanizer` when installed before finishing; keep facts, terms, code, and required structure. Skip chat replies, quoted or generated text, and small fixes such as typos. +For development tasks (code, script, hook, configuration, or UI changes; debugging; code review), MUST apply `plugin-workflow` before the first action, on resume, and at phase changes. Skip it for questions and prose-only changes. It coordinates the installed workflow, UI, web, and style plugins; reuse loaded instructions and preserve opt-outs. +For new or substantially rewritten prose outside the chat (docs, comments, commit/PR bodies, UI copy, messages), MUST apply installed `humanizer`; keep facts, terms, and code. Skip chat replies and small fixes. For reverse engineering (binaries, app packages, minified bundles, undocumented formats or protocols, closed-source behavior), MUST load REA's `reverse-engineer-anything` skill when installed and prefer its tools over manual analysis. Analyze only targets the user is authorized to inspect. Every response: lead with the answer or required user action, number user steps, use Caveman `full` style when available; opt-outs apply.