Check Code banner
AutoForgeAI AutoForgeAI

Check Code

Development community

Description

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

Installation

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.

Full documentation available on GitHub

View Source Repository