Skip to content

zaydiscold/nasa-coding-standards-skill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

banner

nasa-coding-standards-skill

a local skill and /nasa command for enforcing nasa's power of 10 on real code.

markdown version site

what it does · install · usage · what's inside



·



what it does

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.



·



install

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 command

or

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 command

if the app is already open, restart it after copying the files.



·



usage

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 context

the 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.



·



what's inside

this repo is small on purpose.

  • nasa-coding-standards/SKILL.md holds the actual skill instructions
  • nasa-coding-standards/references/rules-c.md carries the original c rules
  • nasa-coding-standards/references/rules-interpreted.md carries the adapted language rules
  • .claude/commands/nasa.md gives the repo a real /nasa command
  • assets/ holds the readme visuals. banner, star fields, wisps

there's no extra packaging layer. just the files you need.



star history chart

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





About

a local nasa coding standards skill with a /nasa command for enforcing the power of 10 on real code

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors