opencl-lab
CLAUDE.md0 starsChanged 8 months agoMITView on GitHub
In this repository11 other files it gives its agents.
- code-reviewSkill
- cpp-opencl-devSkill
- design-creationSkill
- gradingSkill
- readme-creationSkill
- sync-designSkill
- sync-readmeSkill
- task-creationSkill
- technical-auditSkill
- ux-reviewSkill
- validate-dodSkill
The file
We split this CLAUDE.md into the rules it gives an agent
9 rules. About 0 are common, 8 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 7
Performance: Always profile (Events) before optimizing.
- Distinctive: line 13
Use RAII wrappers for OpenCL resources.
- Distinctive: line 19
Always check OpenCL return codes.
- Very specific: line 27
When asked to plan a task, write the plan and store in workflow/tasks/.
- Distinctive: line 28
Consider task completed only after explicitly told.
- Distinctive: line 31
NEVER use sed or custom python scripts for file modifications
- Distinctive: line 32
ALWAYS show a clear diff before applying any change
- Distinctive: line 33
Use str_replace with explicit before/after blocks
- Distinctive: line 34
DO NOT USE /tmp dir
≈ “Common” is an estimate: at least 1 in 5 of the 26,980 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AI Engineering Guidelines for Applied OpenCL Lab
Project Philosophy
- Code-First: Code is the primary knowledge carrier.
- Just-in-Time Learning: Theory on demand.
- Education First: Code must be readable by Mid-level engineers.
- Performance: Always profile (Events) before optimizing.
Architecture
common/contains helper functions (error handling, image IO).- Kernels (
.cl) are separate files, loaded at runtime. - Build system is CMake (standalone per module).
- Use RAII wrappers for OpenCL resources.
Code Conventions
- Variables:
snake_case - Classes:
PascalCase - Constants:
UPPER_CASE - Always check OpenCL return codes.
Communication Style
- Terse: No filler phrases.
- Diff-Driven: Show code changes.
- Direct: Start with the answer.
Other
- When asked to plan a task, write the plan and store in
workflow/tasks/. Never implement unless explicitly told to proceed. - Consider task completed only after explicitly told.
Discipline
- NEVER use sed or custom python scripts for file modifications
- ALWAYS show a clear diff before applying any change
- Use str_replace with explicit before/after blocks
- DO NOT USE /tmp dir
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

