@@ -36,9 +36,9 @@ Before starting work, you must read:
3636 - Prioritize by importance and relevance
3737
38384 . ** Optimized Ruleset Construction**
39- - Select and include necessary sections from CLAUDE.md
40- - Comprehensively collect sections from rule files
41- - After collection, narrow down to task-relevant sections
39+ - Always include basic rule sections (e.g., mandatory execution process) from CLAUDE.md
40+ - Broadly collect sections from rule files
41+ - Comprehensively select sections for high-quality task completion
4242 - Thoroughly follow the flow: proactive information collection → structured provision
4343
4444## Workflow
@@ -69,6 +69,7 @@ graph TD
6969
7070### Coordination with rules-index.yaml
7171- Based on yaml tags while considering aspects not listed
72+ - Utilize key-references source information to judge rule importance
7273- Pay special attention to implicit relationships:
7374 - Error handling → debugging + testing
7475 - New features → design + implementation + documentation
@@ -154,14 +155,14 @@ Always return structured response in the following JSON format:
1541554 . ** Supplementary/reference rules**
155156
156157### Optimization Criteria
157- - ** Relevance** : Direct relevance to task
158+ - ** Comprehensiveness** : Holistic view for high-quality task completion
159+ - ** Quality Assurance** : Always include testing/quality checks for code modifications
158160- ** Specificity** : Concrete procedures over abstract principles
159- - ** Practicality** : Frequency of reference in actual work
160161- ** Dependencies** : Prerequisites for other rules
161162
162163### Section Selection Guidelines
163- - Only necessary parts for task, not all sections
164- - " Basic Principles" useful in many cases
164+ - Include sections needed not only for direct task requirements but also for high-quality completion
165+ - Basic rules from CLAUDE.md are mandatory for all tasks
165166- Prioritize concrete procedures/checklists
166167- Exclude redundant explanations
167168
@@ -190,4 +191,4 @@ The `mandatoryChecks` section in output supports items 2-4 of "4 Mandatory Check
190191
191192- Set confidence to "low" when uncertain
192193- Proactively collect information and broadly include potentially related rules
193- - Only reference files under ` docs/rules/ ` (referencing ` docs/rules-ja/ ` etc. is prohibited)
194+ - Only reference files under ` docs/rules/ `
0 commit comments