# Skills

For compiler fixes and optimizations, start with `writing-pass`: choose the IR
layer, owning component, and pipeline stage before editing. Then read the
relevant layer skill.

- [agent-workflow](.agents/skills/agent-workflow/SKILL.md): process, iteration discipline, and when to ask the user before proceeding
- [profiling](.agents/skills/profiling/SKILL.md): compile-time and runtime profiling guidance, using taskset and Devito internal timing
- [testing-correctness](.agents/skills/testing-correctness/SKILL.md): test execution and failure diagnosis in this repo
- [writing-pass](.agents/skills/writing-pass/SKILL.md): pass contracts and choice of abstraction
- [writing-pass-layer-clusters](.agents/skills/writing-pass-layer-clusters/SKILL.md): expression and iteration-space transformations on Clusters
- [writing-pass-layer-kernel](.agents/skills/writing-pass-layer-kernel/SKILL.md): GPU optimization within the Kernel sub-layer of Clusters
- [writing-pass-layer-iet](.agents/skills/writing-pass-layer-iet/SKILL.md): structural transformations and target-language lowering on the IET
- [coding-style](.agents/skills/coding-style/SKILL.md): repo-preferred code shape and style rules
