skills-x
AGENTS.md18 starsChanged 8 months agoMITView on GitHub
Keep new logic in pkg/ when reusable, and in cmd/skills-x/command/... when command-specific.
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,736 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 repository27 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- brainstormingSkill
- dispatching-parallel-agentsSkill
- executing-plansSkill
- find-skillsSkill
- finishing-a-development-branchSkill
- golang-cli-cobra-viperSkill
- golang-testingSkill
- receiving-code-reviewSkill
- requesting-code-reviewSkill
- skill-creatorSkill
- skills-xSkill
- subagent-driven-developmentSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
- using-superpowersSkill
- verification-before-completionSkill
- writing-plansSkill
- writing-skillsSkill
- baidu-speech-to-textSkill
- feishu-notifySkill
- go-embedded-spaSkill
- go-i18nSkill
- go-pocketbase-integrationSkill
- minimal-ui-designSkill
- skills-xSkill
- tui-designSkill
The file
We split this AGENTS.md into the rules it gives an agent
8 rules. About 0 are common, 1 is distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 13
Keep new logic in pkg/ when reusable, and in cmd/skills-x/command/...
- Very specific: line 25
Follow idiomatic Go; format with gofmt before committing.
- Very specific: line 26
Use short, lowercase package names (pkg/versioncheck, pkg/gitutil).
- Very specific: line 27
Keep command files action-oriented (init.go, update.go, list.go).
- Very specific: line 33
Run make test before opening a PR.
- Very specific: line 34
Prefer focused unit tests for parsing/validation/registry behavior, then command-level tests for CLI flows.
- Very specific: line 40
Use <type>: <imperative summary>.
- Distinctive: line 42
Add screenshots/GIFs for TUI changes and note any i18n or registry data updates explicitly.
≈ “Common” is an estimate: at least 1 in 5 of the 16,597 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
Repository Guidelines
Project Structure & Module Organization
skills-x is a Go CLI with an interactive TUI plus bundled skill assets.
cmd/skills-x/: CLI entrypoint, Cobra commands, TUI models/views, and i18n wiring.pkg/: reusable packages (registry,discover,gitutil,skillvalidator,userregistry, etc.).skills/: embedded first-party skills shipped with the binary.docs/: user and contributor docs (for exampledocs/tui-guide.md).npm/: npm wrapper and installer (npm/install.js, package metadata).bin/: build outputs (generated).
Keep new logic in pkg/ when reusable, and in cmd/skills-x/command/... when command-specific.
Build, Test, and Development Commands
make build: syncsskills/into embed path and buildsbin/skills-x.make run ARGS="list": build and run with CLI arguments.make test: run all Go tests (go test -v ./...).make build-local: Linux amd64 local build includinglocal_skills/.make build-all: cross-platform binaries inbin/.make build-npm: cross-platform release binaries for npm innpm/bin/.make deps: download and tidy Go modules.
Coding Style & Naming Conventions
- Follow idiomatic Go; format with
gofmtbefore committing. - Use short, lowercase package names (
pkg/versioncheck,pkg/gitutil). - Keep command files action-oriented (
init.go,update.go,list.go). - Tests live next to code as
*_test.go, with table-driven style where practical. - For locale keys (
cmd/skills-x/i18n/locales/*.yaml), use stable snake_case identifiers.
Testing Guidelines
- Primary framework: Go
testingpackage. - Run
make testbefore opening a PR. - Prefer focused unit tests for parsing/validation/registry behavior, then command-level tests for CLI flows.
- Name tests descriptively, e.g.
TestRunAPIGenerate,TestValidateSkillPath.
Commit & Pull Request Guidelines
Recent history follows Conventional Commit style: feat:, fix:, docs:, chore: (example: fix: starred skills not sorted on initial load in TUI LV3).
- Use
<type>: <imperative summary>; keep subject concise and specific. - PRs should include: purpose, key changes, test evidence (
make testoutput summary), and linked issues. - Add screenshots/GIFs for TUI changes and note any i18n or registry data updates explicitly.
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.

