a local skill and /nasa command for enforcing nasa's power of 10 on real code.
what it does · install · usage · what's inside
this gives me two ways to run the same cleanup pass.
the nasa-coding-standards/ skill handles the workflow. the /nasa
command makes it easy to aim that workflow at a file, a folder, or whatever
code is already in context.
built this because i wanted something stricter than a normal review pass. small functions. bounded loops. fewer excuses.
git clone https://github.com/zaydiscold/nasa-coding-standards-skill.git # clone the repo
cd nasa-coding-standards-skill # move into it
mkdir -p ~/.claude/skills ~/.claude/commands # create local dirs
cp -R nasa-coding-standards ~/.claude/skills/ # install the skill
cp .claude/commands/nasa.md ~/.claude/commands/ # install the /nasa commandor
curl -L https://github.com/zaydiscold/nasa-coding-standards-skill/archive/refs/heads/master.zip -o nasa-coding-standards-skill.zip # download zip
unzip nasa-coding-standards-skill.zip # unpack it
cd nasa-coding-standards-skill-master # move into it
mkdir -p ~/.claude/skills ~/.claude/commands # create local dirs
cp -R nasa-coding-standards ~/.claude/skills/ # install the skill
cp .claude/commands/nasa.md ~/.claude/commands/ # install the /nasa commandif the app is already open, restart it after copying the files.
the command path is direct.
/nasa src/main.c # audit one c file
/nasa src/api/users.ts # audit one ts file
/nasa src/lib/auth.ts src/lib/token.ts # audit a small set of files
/nasa "the currently selected function" # use the code already in contextthe skill path is looser. mention nasa, power of 10, or nasa coding standards and it should wake up on its own.
for c and c++, it uses the original jpl rules. for everything else, it uses
the adapted pass in references/rules-interpreted.md.
the output is always the same shape.
language detected. rule set applied. violation report. refactored code. change summary. verification.
this repo is small on purpose.
nasa-coding-standards/SKILL.mdholds the actual skill instructionsnasa-coding-standards/references/rules-c.mdcarries the original c rulesnasa-coding-standards/references/rules-interpreted.mdcarries the adapted language rules.claude/commands/nasa.mdgives the repo a real/nasacommandassets/holds the readme visuals. banner, star fields, wisps
there's no extra packaging layer. just the files you need.
mit. license
zayd / cold
zayd.wtf · twitter · github
icarus only fell because he flew
to do
☑ build the skill
☑ add the /nasa command
☐ add a packaged installer