create-m3-theme
Skill by juice-shop
Guides developers through adding a new Angular Material M3 theme to OWASP Juice Shop. It lists the files to edit, the allowed and forbidden changes, and the checks to run.
Install create-m3-theme
Built from the published package, never by AI.
git clone --depth 1 https://github.com/juice-shop/juice-shop /tmp/juice-shop && mkdir -p ~/.claude/skills && cp -r /tmp/juice-shop/.ai/skills/create-m3-theme ~/.claude/skills/create-m3-themeRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/juice-shop/juice-shop /tmp/juice-shop && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/juice-shop/.ai/skills/create-m3-theme ~/.gemini/antigravity-cli/skills/create-m3-themeAntigravity 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
The create-m3-theme skill gives step-by-step instructions for adding a new Angular Material M3 theme to OWASP Juice Shop. It names the repository files to change: frontend/src/styles/theme.scss, frontend/src/styles.scss, lib/config.schema.ts, config/default.yml and views/themes/themes.ts. Simple themes use standard Material palettes, while complex themes use manual CSS variable overrides.
The skill also sets boundaries. It allows adding a new theme and its keys, but forbids renaming existing themes, changing theme-switching services or local storage logic, and modifying Angular build configuration or dependencies. It ends with checks: run npm run lint and npm run test:frontend, and confirm the theme name matches across all five files. It is aimed at developers contributing UI themes to the project, and the source notes it is unrelated to the internal Chatbot's skills.
Written from the project's SKILL.md and checked against it.
What it can do
- Simple theme setupDefines a theme with standard Material palettes in theme.scss and applies it in styles.scss.
- Complex theme setupUses manual CSS variable overrides for colors that do not match standard Material palettes.
- Config schema registrationAdds the new theme key to the theme enum in lib/config.schema.ts.
- Default config commentsLists the new theme name in the Options comment for application.theme in config/default.yml.
- Legacy palette entryAdds hex colors for the new theme to the themes object in views/themes/themes.ts.
- Verification checklistRuns lint and frontend tests, and checks that the theme name matches in every file.
What you need
- Access to the OWASP Juice Shop repository
- npm to run the lint and frontend test scripts
- Familiarity with the Angular Material M3 theming specification
Try asking
- Create a new M3 theme called deepsea for Juice Shop using standard palettes.
- Add my new theme key to the config schema and default.yml options.
- Which files do I change to add a new Juice Shop theme?
Good to know
- Existing theme configurations must not be modified or renamed.
- Theme-switching services and local storage persistence logic must not be changed.
- Angular build configuration and dependencies must not be changed.
- The skill is unrelated to the internal Chatbot's skills.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .ai/skills/create-m3-theme/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB
Alternatives to create-m3-theme
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
create-m3-theme: common questions
Which files does the create-m3-theme skill change?
It covers frontend/src/styles/theme.scss, frontend/src/styles.scss, lib/config.schema.ts, config/default.yml and views/themes/themes.ts.
When should I use the complex theme pattern?
Use it when requested colors do not align with standard Angular Material palettes. It then uses manual CSS variable overrides with --mat-sys tokens.
How do I check that a new Juice Shop theme works?
Run npm run lint and npm run test:frontend, and confirm the theme name string matches in all five files.
How do I install create-m3-theme?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is create-m3-theme free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is create-m3-theme safe to use?
It scores 91 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 create-m3-theme?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
