code-quality-guard
Professional pre-deployment code review and quality enforcement. Ensures imports are valid, tags are closed, and logic follows best practices before announcing a build is live.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/balkanblbn/code-quality-guardWhat This Skill Does
The Code Quality Guard skill acts as an automated senior reviewer for your codebase, specifically designed to intercept common errors before they reach your production environment. By performing a rigorous audit of your files, it ensures that your project remains clean, secure, and fully functional. It acts as a comprehensive pre-build safety net, identifying missing dependencies, unclosed markup tags, accidental debug print statements, and dangerous hardcoded secrets. This proactive approach significantly reduces the time developers spend debugging trivial issues, allowing them to focus on feature development rather than chasing 'ReferenceErrors' or deployment failures.
Installation
To integrate this skill into your workflow, use the OpenClaw CLI tool. Run the following command in your terminal within your project directory:
clawhub install openclaw/skills/skills/balkanblbn/code-quality-guard
Once installed, you can trigger the guard via the OpenClaw dashboard or directly from your terminal using the skill's alias. Ensure that your environment permissions allow the agent to read your source code files to perform its analysis.
Use Cases
- Pre-Deployment Safety Check: Run the skill immediately before pushing code to a staging or production branch to ensure no debuggers or broken imports were left behind.
- Refactoring Assistance: After performing major file movements or dependency upgrades, use the Import Sweep feature to identify broken paths instantly.
- Onboarding and Code Standards: New developers can use the tool to automatically align their code submissions with team standards, reducing the back-and-forth during pull request reviews.
- Legacy Cleanup: Run the scanner on older codebases to identify long-standing issues like unclosed tags or legacy debug log statements that were never removed.
Example Prompts
- "@code-quality-guard please scan the current directory for missing imports and check if there are any dangling console logs in the /src folder."
- "@code-quality-guard audit my React component library; ensure all JSX tags are properly closed and check for potential environment variable usage errors."
- "@code-quality-guard verify this codebase before I trigger the deployment pipeline, paying special attention to potential hardcoded API keys."
Tips & Limitations
- Tips: Run this skill in a CI/CD pipeline script to make it mandatory for all contributors. The more frequent your checks, the lower the risk of accumulated technical debt.
- Limitations: While Code Quality Guard is excellent at structural and syntax-level analysis, it does not replace functional testing or unit tests. It should be used as a supplementary tool, not a substitute for robust integration testing. It also assumes your code follows standard modern formatting conventions; heavily obfuscated code may yield false positives.
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-balkanblbn-code-quality-guard": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read
Related Skills
sub-agent-factory
Rapidly spawn and configure specialized sub-agents. Includes templates for Research, Coding, and Analysis agents. Automates workspace setup and instruction delivery.
sop-architect
Automatically generates detailed Standard Operating Procedures (SOPs) for recurring digital tasks. Ideal for scaling agency operations or documenting internal AI workflows.
Monk Eye Engine
Skill by balkanblbn
hierarchical-memory
Manage and navigate a multi-layered, branch-based memory system. This skill helps organize complex agent context into Root, Domain, and Project layers to prevent context bloat. It includes a helper script `add_branch.py` which creates local markdown files and directories to structure your memory.
market-sentiment-pulse
Aggregates and analyzes market sentiment for specific crypto or stock tickers by scanning news and social signals. Useful for quick vibe checks before trading.