Fundamentals
Remove duplicate constraints from an AI skill
Put each durable rule in one home and leave pointers where another step needs it.
Start with contradictory copies
A skill might require “include page numbers” in one section and “use paragraph IDs” in another. Decide which difference is intentional, such as one rule for PDFs and another for notes. If both statements govern the same input, reconcile them in one rule and point to that rule from both steps. Anthropic’s authoring guidance favors concise instructions, and its context-engineering work discusses using information efficiently. 1 2
Keep special cases next to their general rule
Write the shared rule, then add short exceptions for file types or deliverables. A source-reference rule might use printed labels where present and viewer indexes only for unnumbered scans. This approach gives the maintainer one place to update and gives the assistant the exception where it makes the decision.
Confirm the cleanup on old examples
Run one normal PDF and one unnumbered scan. The first should still include the original page label and the second should use the agreed alternative. If the new organization hides the exception, improve the pointer or put the exception in the relevant step. Evaluation guides recommend measuring output quality with representative cases, which helps you verify that a cleanup preserved useful behavior. 3
Review the examples too. A sample output showing the obsolete citation style can teach the older pattern even after its redundant instruction has been removed from the main procedure.