Imported from morgs32/llm-wiki (
skills/patterns/SKILL.md). Install upstream withnpx skills add morgs32/llm-wiki --skill patterns. Copyright stays with the author.
Patterns
Use this skill as the shared baseline. Repository instructions and versioned project-local patterns are the profile for that repository and override this skill when they are more specific.
Apply the guidance
- Read the repository's
AGENTS.mdand any project-local pattern index it names before choosing a shared pattern. - Search the pattern index for task keywords. Read only the matching pattern files and any directly linked reference. When either the task or the change being implemented or reviewed proposes a new capability, guarantee, abstraction, compatibility path, or cross-owner coordination mechanism, read the indexed YAGNI and coordination-cost pattern before implementation or review.
- Apply the demonstrated invariant to the current code. The code in each
pattern shows the preferred shape;
@badtags identify rejected shapes. - Keep the change scoped. Do not mechanically rewrite unrelated code merely because another pattern exists.
When no indexed pattern matches, follow the repository and user instructions; do not infer a universal rule from one example.
Source boundary
This skill applies guidance from the live morgs32/llm-wiki checkout. To change
shared patterns or any installable skill, edit that repository's skills/**
tree (global via the ~/.agents/skills symlink) and use the repo-local
$update-morgs32-llm-wiki workflow to publish.
~/.agents/skills is a symlink into this repository's skills/ directory. Edit
skills in the checkout; do not maintain a second global copy.