code-standards-analyzer
Generate and maintain coding standards documentation from existing codebase patterns. Use when creating STANDARDS.md files, onboarding new developers, or documenting team conventions. Evidence-based approach - standards reflect reality, not aspirations.
Why use this skill?
Learn how to use the Code Standards Analyzer to automatically document your codebase conventions and detect anti-patterns using evidence-based analysis.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/anton-abyzov/sw-code-standards-analyzerWhat This Skill Does
The Code Standards Analyzer is an evidence-based utility designed to bridge the gap between aspirational documentation and the reality of your codebase. Unlike static linters that enforce external rules, this skill reverse-engineers the actual conventions used in your specific repository. By analyzing existing configuration files (such as ESLint, Prettier, and EditorConfig) alongside empirical data extracted from your source code—like naming patterns, function structure, and import habits—the analyzer generates a 'living' STANDARDS.md. This ensures that new contributors onboard to how the code is actually written today, not how it was imagined three years ago.
Installation
To install this skill, use the OpenClaw CLI in your terminal:
clawhub install openclaw/skills/skills/anton-abyzov/sw-code-standards-analyzer
Use Cases
- Brownfield Onboarding: Rapidly understand the tribal knowledge and style conventions of a legacy project without manually auditing thousands of files.
- Standards Audit: Periodically verify that your team is adhering to established patterns and identify areas of technical debt.
- Living Documentation: Automate the creation and maintenance of onboarding materials, ensuring that documentation stays updated as project conventions evolve.
- Anti-Pattern Detection: Quickly pinpoint high-risk areas, such as excessive 'any' types, large files, or insecure practices that undermine project stability.
Example Prompts
- 'Analyze the current codebase and generate a STANDARDS.md file that summarizes our naming conventions and file organization.'
- 'Check if our codebase is following consistent error handling patterns and identify any anti-patterns.'
- 'What are the implicit naming conventions for functions and classes in this project? Provide examples from the code.'
Tips & Limitations
- Confidence Levels: Pay attention to the statistical confidence provided in the output; the more consistent your code, the higher the confidence.
- Reality Check: Remember that this skill identifies what is, not what should be. If your codebase has poor quality, the generated standards will reflect that. Use it as a starting point for refactoring.
- Performance: While explicit discovery is instantaneous, implicit analysis takes longer (approx 30s) as it performs static analysis across your source files. Run it during dedicated maintenance sessions rather than during tight performance windows.
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-anton-abyzov-sw-code-standards-analyzer": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read
Related Skills
network-engineer
Cloud network architect for VPC design, service mesh, zero-trust networking, load balancers, and CDN optimization. Use for network troubleshooting or connectivity issues.
jira-multi-project-mapper
Expert in mapping SpecWeave specs to multiple JIRA projects with intelligent project detection and cross-project coordination. Use when syncing to multiple JIRA projects (project-per-team, component-based), or managing bidirectional sync across team boundaries.
helm-chart-scaffolding
Design, organize, and manage Helm charts for templating and packaging Kubernetes applications with reusable configurations. Use when creating Helm charts, packaging Kubernetes applications, or implementing templated deployments.
performance-optimization
React Native performance with Hermes V1, FlashList, expo-image v2, concurrent rendering. Use for slow app, memory leaks, or FPS issues.
release-strategy-advisor
Release strategy advisor - detects brownfield patterns (tags, CI/CD, changelogs), recommends versioning strategy based on architecture. Creates release-strategy.md.