ekala-claude-skills
AGENTS.md1 starsChanged 9 months agoMITView on GitHub
Centralized AI skills for ekapkgs and the broader Ekala ecosystem. Consumed as a Claude Code plugin. Read the guide matching the package's build system or language. 1. Create skills/<skill-name>/SKILL.md with YAML frontmatter (name, description) followed by the skill prompt. 2. Follow the naming and structure conventions enforced by scripts/. 3. Update README.md with a short entry for the new skill. Skills should target concrete Ekala/Nix workflows: building, evaluation, packaging patterns, toolchain integration, etc. Keep each skill focused on a single…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,542 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository14 other files it gives its agents.
- cmakeSkill
- ekala-cmake-nixSkill
- ekapkgs-repoSkill
- goSkill
- mesonSkill
- mk-many-variantsSkill
- nix-buildSkill
- nix-evalSkill
- packagingSkill
- portingSkill
- pythonSkill
- rustSkill
- structured-attrsSkill
- validationSkill
The file
We split this AGENTS.md into the rules it gives an agent
5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Do not: add AI attribution (e.g., Co-Authored-By) to commit messages
- Distinctive: line 12
Read the guide matching the package's build system or language.
- Very specific: line 52
Create skills/<skill-name>/SKILL.md with YAML frontmatter (name, description) followed by the skill prompt.
- Very specific: line 54
Follow the naming and structure conventions enforced by scripts/.
- Distinctive: line 55
Update README.md with a short entry for the new skill.
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.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
Ekala AI Skills
Centralized AI skills for ekapkgs and the broader Ekala ecosystem. Consumed as a Claude Code plugin.
Commit Conventions
- Do not add AI attribution (e.g.,
Co-Authored-By) to commit messages
Writing Packages
Read the guide matching the package's build system or language.
| Task | Guide |
| Nix expression basics (mkDerivation, finalAttrs, meta, deps, fetchers, patches, outputs, passthru) | packaging |
| Python (buildPythonPackage, pyproject, build-system, testPaths, disabledTests, pythonImportsCheck) | python |
| Rust (buildRustPackage, cargoHash, cargoBuildFlags, checkFlags) | rust |
| Go (buildGoModule, vendorHash, ldflags, subPackages) | go |
| CMake project (cmake.configurePhaseHook, cmakeEntries) | cmake |
| CMake+Nix troubleshooting (attributes, flags, cross-compilation) | ekala-cmake-nix |
| Meson project (meson.configurePhaseHook, mesonEntries, mesonFeatures) | meson |
| Multi-version package (mkManyVariants, variants.nix) | mk-many-variants |
| Porting from nixpkgs (copy, strip maintainers/updateScript, TODO missing deps) | porting |
| Bash phases under structured attrs (array iteration, env attrset, substituteAll) | structured-attrs |
Repository Scaffolding
| Task | Guide |
| Create a new ekapkgs-style repo (flake, pins, CI, GitHub Actions) | ekapkgs-repo |
Fixing Build Failures
| Symptom | Guide |
| Eval or build error — validation workflow, nix-instantiate, nix-build, nix fmt | validation |
| General Nix build failures and troubleshooting | nix-build |
| Nix evaluation, inspecting expressions | nix-eval |
Repository Layout
skills/
<skill-name>/
SKILL.md # Skill definition (frontmatter + prompt)
scripts/ # CI validation scriptsAdding a Skill
- Create
skills/<skill-name>/SKILL.mdwith YAML frontmatter (name,description) followed by the skill prompt. - Follow the naming and structure conventions enforced by
scripts/. - Update
README.mdwith a short entry for the new skill.
Skills should target concrete Ekala/Nix workflows: building, evaluation, packaging patterns, toolchain integration, etc. Keep each skill focused on a single responsibility.
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.

