code-conformance
Skill by adobe
Reviews gen2 component files against project style guides and runs the project linters. It also flags gaps in the guides for maintainers. It is for contributors to the Adobe Spectrum Web Components project.
Install code-conformance
Built from the published package, never by AI.
git clone --depth 1 https://github.com/adobe/spectrum-web-components /tmp/spectrum-web-components && mkdir -p ~/.claude/skills && cp -r /tmp/spectrum-web-components/.ai/skills/code-conformance ~/.claude/skills/code-conformanceRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/adobe/spectrum-web-components /tmp/spectrum-web-components && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/spectrum-web-components/.ai/skills/code-conformance ~/.gemini/antigravity-cli/skills/code-conformanceAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill audits gen2 component code for style-guide conformance. It covers TypeScript, CSS, test files, and Storybook stories. The skill tells the assistant to run the project's linters first, including ESLint, Stylelint, and Prettier, and to resolve every lint error before the manual review.
For each domain, the skill points to the matching style guide in the contributor docs and lists the checks to make. When code is correct but the guide does not cover its pattern, the skill reports it as a guideline gap instead of blocking the review. It is aimed at reviewers and contributors working on component migrations.
Written from the project's SKILL.md and checked against it.
What it can do
- Run lintersRuns ESLint, Stylelint, and Prettier checks on component files before the manual review.
- TypeScript reviewChecks file organization, class structure, decorators, JSDoc, and naming against the TypeScript style guide.
- CSS reviewWorks through the Component CSS PR checklist, property order, custom properties, and anti-patterns.
- Test file reviewChecks test naming, assertion utilities, test isolation, flaky-test patterns, and meaningful coverage.
- Storybook story reviewChecks story sections, meta fields, tags, argTypes, and per-unit MDX structure.
- Guideline gap reportingReports patterns that the style guides do not cover, with file, line, and rationale.
What you need
- Yarn to run the lint scripts
- A checkout of the project with the CONTRIBUTOR-DOCS style guides
Try asking
- Check code conformance for the Tooltip component
- Review this component's CSS against the style guide
- Run conformance checks for my new gen2 button component
Good to know
- Applies to gen2 component files in the project
- Depends on the style guide docs in the repository
- Stylesheets outside component packages follow a separate guide
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .ai/skills/code-conformance/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to code-conformance
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
code-conformance: common questions
What files does the code conformance skill review?
It reviews gen2 component TypeScript, CSS, test, and Storybook story files. Non-component stylesheets in swc/stylesheets/ are covered by a separate guide.
Does the skill change the style guide when it finds a gap?
No. If the code is correct but the guide does not cover the pattern, the skill reports it and does not change the guideline or block the review.
When should this skill be used during a migration?
The source says it runs as part of the migration-conformance sub-task, after testing and before documentation. It also runs before a consistency pass.
How do I install code-conformance?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is code-conformance free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is code-conformance safe to use?
It scores 76 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to code-conformance?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
