project-code-standard
此 skill 用于检查、执行和修复项目代码规范。当用户需要为项目建立代码风格标准、 检查代码是否符合规范、自动修复格式问题、生成代码质量报告,或在 Code Review 中验证提交是否满足团队规范时激活。支持 Python (PEP8/black/ruff)、JavaScript/ TypeScript (ESLint/Prettier)、通用项目规范(命名、注释、文件结构)等。
Why use this skill?
Optimize your codebase with the project-code-standard skill. Automate linting, formatting, and structural checks for Python, JS, and TS projects safely.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/forestxiecode/project-code-standardWhat This Skill Does
The project-code-standard skill is a comprehensive toolkit designed to help developers maintain, enforce, and improve code quality across diverse technology stacks. It acts as an automated Code Reviewer and quality assurance assistant. Whether you are dealing with Python (PEP8, Ruff, Black), JavaScript/TypeScript (ESLint, Prettier), or simply want to enforce naming conventions, comment styles, and structural standards, this skill streamlines the process. It automatically detects project types, runs static analysis, generates professional Markdown reports, and provides safe, one-click automatic fixes for common style violations.
Installation
To integrate this skill into your environment, run the following command within your terminal or OpenClaw interface:
clawhub install openclaw/skills/skills/forestxiecode/project-code-standard
Use Cases
- Project Initialization: Quickly bootstrap a new codebase by automatically copying industry-standard configuration files like
.eslintrc,ruff.toml, or.editorconfigfrom the internal assets repository. - Code Review Automation: Before submitting a Pull Request, trigger this skill to scan for linting errors, ensuring that only high-quality, clean code reaches your main branch.
- Technical Debt Management: Identify systemic issues such as inconsistent naming or improper project structure, and use the automatic fix feature to refactor style inconsistencies across large modules.
- Continuous Compliance: Integrate the skill into your development workflow to ensure that every contributor adheres to the team's specific coding guidelines automatically.
Example Prompts
- "Analyze my current project and generate a code quality report for all Python files. Highlight any PEP8 violations."
- "I'm starting a new TypeScript project. Please set up the recommended ESLint and Prettier configurations for me."
- "My project structure looks messy. Can you check my file naming and directory structure against general best practices and suggest improvements?"
Tips & Limitations
- Safety First: The skill is designed to prioritize project integrity. Automatic fixes are never applied without your explicit confirmation; you are always in control of the file system changes.
- Configuration Respect: The skill intelligently detects existing linting configurations. It will never overwrite or interfere with your project's established settings (e.g., existing
.eslintrcorruff.tomlfiles). - Performance: To ensure rapid execution, the skill automatically ignores common auxiliary directories such as
node_modules/,.venv/,dist/, andbuild/. - Language Support: While it excels in Python and JS/TS, it also provides robust general-purpose checks for any project regardless of the language, focusing on documentation and architectural standards.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-forestxiecode-project-code-standard": {
"enabled": true,
"auto_update": true
}
}
}Tags
Flags: file-read, file-write, code-execution
Related Skills
q-kdb-code-review
AI-powered code review for Q/kdb+ — catch bugs in the most terse language in finance
astrai-code-review
AI-powered code review with intelligent model routing — saves 40%+ vs always using the most expensive model
opentangl
Not a code generator — an entire dev team. You write the vision, it ships the code. Autonomous builds, PRs, reviews, and merges across multiple repos. Point it at any JS/TS project and a product vision. It plans features, writes code, verifies builds, creates PRs, reviews diffs, and merges — autonomously. Manages multiple repos as one product. Use when you want to ship code without writing it. AI code generation, autonomous development, workflow automation, multi-repo orchestration, TypeScript, JavaScript, GitHub, OpenAI, Anthropic, Claude, GPT, LLM, devtools, CI/CD, pull requests, code review.
undertow
Skill discovery engine for AI coding agents. Recommends and installs the right skill when you need it — code review, test generation, debugging, commit messages, PR preparation, security scanning, dependency audits, Docker setup, CI/CD pipelines, API documentation, refactoring, performance optimization, bundle analysis, git recovery, README generation, license compliance, migration guides, dead code removal, and secret detection. One install gives your agent access to a curated library of 20+ developer workflow skills. Use when the user asks for help with any development workflow, code quality, DevOps, security, testing, documentation, or project setup task.
codex-review
Three-tier code quality defense: L1 quick scan, L2 deep audit (via bug-audit), L3 cross-validation with adversarial testing. 三级代码质量防线。