Expand description
Semantic rules: instruction quality, clarity, redundancy. Range: AIL100 – AIL199.
Re-exports§
pub use duplicate_rules::NoDuplicateRulesRule;pub use excessive_length::ExcessiveRuleLengthRule;pub use instruction_bloat::DetectInstructionBloatRule;pub use missing_examples::NoMissingExamplesRule;pub use negative_constraint_overload::NegativeConstraintOverloadRule;pub use vague_instruction::NoVagueInstructionRule;pub use vendor_optimization::VendorOptimizationSyntaxRule;
Modules§
- duplicate_
rules - AIL103
no-duplicate-rules— list items that normalize to identical text. - excessive_
length - AIL102
excessive-rule-length— list items exceeding a word cap. - instruction_
bloat - AIL106
detect-instruction-bloat— flags monolithic prose paragraphs. - missing_
examples - AIL101
no-missing-examples— required sections lacking concrete examples. - negative_
constraint_ overload - AIL104
negative-constraint-overload— negative constraints dominate affirmative guidance. - vague_
instruction - AIL100
no-vague-instruction— list items containing hand-wavy phrases. - vendor_
optimization - AIL105
vendor-optimization-syntax— Enforce XML<conventions>tags for Anthropic-hosted agents.
Constants§
- AIL100
- AIL100: instruction uses vague, unactionable phrasing.
- AIL101
- AIL101: rules reference behavior without concrete examples.
- AIL102
- AIL102: document exceeds the practical context-length budget.
- AIL103
- AIL103: the same rule is stated more than once in a document.
- AIL104
- AIL104: instruction list dominated by negative (“do not”) constraints.
- AIL105
- AIL105: Claude/Cline guidance without the XML tags those tools favor.
- AIL106
- AIL106: prose paragraph is long enough that agents will skim it.
Functions§
- all_
rules - All semantic rules, in registration order.