An open API service indexing awesome lists of open source software.

https://github.com/zaydiscold/nasa-coding-standards-skill

a local nasa coding standards skill with a /nasa command for enforcing the power of 10 on real code
https://github.com/zaydiscold/nasa-coding-standards-skill

c code-quality coding-standards developer-tools nasa power-of-10 static-analysis typescript

Last synced: 13 days ago
JSON representation

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

Awesome Lists containing this project

README

          


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

```bash
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

```bash
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.

```bash
/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