Loading...
Loading...
Compare original and translation side by side
patternkindhasinsideallanynotstopBy: endinsidehaspatternkindhasinsideallanynotinsidehasstopBy: endundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedstopBy: end--debug-query=ast\$VARstopBy: end--debug-query=ast\$VAR| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Pattern Correctness | CRITICAL | |
| 2 | Meta Variable Usage | CRITICAL | |
| 3 | Rule Composition | HIGH | |
| 4 | Constraint Design | HIGH | |
| 5 | Rewrite Correctness | MEDIUM-HIGH | |
| 6 | Project Organization | MEDIUM | |
| 7 | Performance Optimization | MEDIUM | |
| 8 | Testing & Debugging | LOW-MEDIUM | |
| 优先级 | 类别 | 影响程度 | 前缀 |
|---|---|---|---|
| 1 | 模式正确性 | 关键 | |
| 2 | 元变量使用 | 关键 | |
| 3 | 规则组合 | 高 | |
| 4 | 约束条件设计 | 高 | |
| 5 | 重写正确性 | 中高 | |
| 6 | 项目结构 | 中 | |
| 7 | 性能优化 | 中 | |
| 8 | 测试与调试 | 中低 | |
pattern-valid-syntaxpattern-language-awarepattern-context-selectorpattern-avoid-comments-stringspattern-strictness-levelspattern-kind-vs-patternpattern-debug-astpattern-nthchild-matchingpattern-range-matchingpattern-valid-syntaxpattern-language-awarepattern-context-selectorpattern-avoid-comments-stringspattern-strictness-levelspattern-kind-vs-patternpattern-debug-astpattern-nthchild-matchingpattern-range-matchingmeta-naming-conventionmeta-single-nodemeta-reuse-bindingmeta-underscore-noncapturemeta-named-vs-unnamedmeta-multi-match-lazymeta-naming-conventionmeta-single-nodemeta-reuse-bindingmeta-underscore-noncapturemeta-named-vs-unnamedmeta-multi-match-lazycompose-all-for-and-logiccompose-any-for-or-logiccompose-not-for-exclusioncompose-inside-for-contextcompose-has-for-childrencompose-matches-for-reusecompose-precedes-followscompose-field-targetingcompose-all-for-and-logiccompose-any-for-or-logiccompose-not-for-exclusioncompose-inside-for-contextcompose-has-for-childrencompose-matches-for-reusecompose-precedes-followscompose-field-targetingconst-kind-filterconst-regex-filterconst-not-inside-notconst-pattern-constraintconst-post-match-timingconst-kind-filterconst-regex-filterconst-not-inside-notconst-pattern-constraintconst-post-match-timingrewrite-preserve-semanticsrewrite-meta-variable-referencerewrite-transform-operationsrewrite-test-before-deployrewrite-syntax-validityrewrite-preserve-semanticsrewrite-meta-variable-referencerewrite-transform-operationsrewrite-test-before-deployrewrite-syntax-validityorg-project-structureorg-unique-rule-idsorg-severity-levelsorg-file-filteringorg-message-clarityorg-project-structureorg-unique-rule-idsorg-severity-levelsorg-file-filteringorg-message-clarityperf-specific-patternsperf-stopby-boundariesperf-thread-parallelismperf-avoid-regex-heavyperf-specific-patternsperf-stopby-boundariesperf-thread-parallelismperf-avoid-regex-heavytest-valid-invalid-casestest-snapshot-updatestest-playground-firsttest-edge-casestest-valid-invalid-casestest-snapshot-updatestest-playground-firsttest-edge-cases| File | Description |
|---|---|
| AGENTS.md | Complete compiled guide with all rules |
| references/_sections.md | Category definitions and ordering |
| assets/templates/_template.md | Template for new rules |
| metadata.json | Version and reference information |
| 文件 | 描述 |
|---|---|
| AGENTS.md | 包含所有规则的完整编译指南 |
| references/_sections.md | 类别定义与排序说明 |
| assets/templates/_template.md | 新增规则的模板 |
| metadata.json | 版本与参考信息 |