Check Code — Development skill for Claude Code
Run the following commands and ensure the code is clean.
How to install Check Code
Installs to ~/.claude/commands/autoforgeai-autoforge-check-code.md
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 RepositoryRelated Skills
Create Usecase
Creates domain layer use cases following clean architecture patterns
Bibclean
Clean and validate a BibTeX file: check required fields, normalize author names, detect duplicates, enrich mis
Sap Cleancore Check
Ejecuta una validacion Clean Core del codigo modificado contra el catalogo oficial SAP.
Rseng Reproduce
Clean-room reproduction check of this repository
Convert Paths Absolute
This command converts all relative paths in .claude/settings.json command scripts to absolute paths using the
Fix E2e
Run all e2e tests, fix failures, and ensure each passes 3 times consecutively
Related Agents
Repo Auditor
Repository health check agent - analyzes file sizes, detects data files, validates staged commits. Use PROACTI
Hexagonal Backend Architect
Use this agent when you need to design, review, or refactor backend TypeScript code following hexagonal archit
Refactor Front Figma Specialist.Agent
This custom agent is a frontend specialist responsible for refactoring code exported from Figma plugins. Use t