AutoForgeAI

Check Code — Development skill for Claude Code

Development community

Run the following commands and ensure the code is clean.

How to install Check Code

Installs to ~/.claude/commands/autoforgeai-autoforge-check-code.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/AutoForgeAI/autoforge/HEAD/.claude/commands/check-code.md -o ~/.claude/commands/autoforgeai-autoforge-check-code.md

Restart Claude Code, or start a new session, for it to be picked up.

What Check Code does


description:

Run the following commands and ensure the code is clean.

From project root:

Python linting

ruff check .

Security tests

python test_security.py

From ui/ directory: cd ui

ESLint (will fail until we add the config)

npm run lint

TypeScript check + build

npm run build

One-liner to run everything: ruff check . && python test_security.py && cd ui && npm run lint && npm run build

Or if you want to see all failures at once (doesn't stop on first error): ruff chec

Alternatives in Development

  • Third-party Notices — THE FOLLOWING SETS FORTH ATTRIBUTION NOTICES FOR THIRD PARTY SOFTWARE THAT MAY BE CONTAINED IN PORTIONS OF THI 94.7k ★
  • Iterate Implementation Plan — You are tasked with updating existing implementation plans based on user feedback 10k ★
  • Onboard — You are given the following context: $ARGUMENTS 5.8k ★

Full documentation available on GitHub

View Source Repository