From sustainable-code-skill-setup
Quick sustainability check on a project or codebase. Evaluates WSG compliance, green hosting, and code-level green patterns. Use when the user asks for a fast sustainability review without a full audit.
How this skill is triggered — by the user, by Claude, or both
Slash command
/sustainable-code-skill-setup:gc-check-sustainabilityThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Run a quick sustainability check on the current project. For a full 9-phase audit, use `/gc-setup`.
Run a quick sustainability check on the current project. For a full 9-phase audit, use /gc-setup.
Review the codebase against the most impactful W3C Web Sustainability Guidelines:
prefers-color-scheme support?If a wsg-compliance.json file exists, use the wsg_compliance_score MCP tool with filePath pointing to the JSON file. The file must be a JSON array of objects with id, status (full/partial/gap/na), and category fields. Otherwise, produce a quick manual assessment.
check_green_hosting MCP tool with domain (e.g., "example.com" — protocols and paths are stripped automatically)Pick 3-5 source files (busiest modules, largest files, entry points) and:
creedengo_check MCP tool with filePath (absolute path to source file). Supports JS/TS, PHP, Python — language is auto-detected from extension## Sustainability Quick Check
### WSG Compliance
| Guideline | Status | Notes |
|-----------|--------|-------|
| 3.2 Minification | pass/fail | ... |
| ... | ... | ... |
Score: ?/9 guidelines checked
### Green Hosting
- Domain: [domain]
- Green hosted: yes/no
- carbon.txt: found/not found
- Provider: [name]
### Code Patterns
| File | Issues found | Severity |
|------|-------------|----------|
| ... | ... | high/medium/low |
### Top 5 Recommendations
1. [highest impact action]
2. ...
### Methodology and sources
- WSG standard: [W3C Web Sustainability Guidelines 1.0](https://www.w3.org/TR/web-sustainability-guidelines/)
- Green hosting check: [The Green Web Foundation API](https://www.thegreenwebfoundation.org/) — database date [date]
- Code rules: [Creedengo](https://github.com/green-code-initiative/creedengo-rules-specifications) green code rules
- carbon.txt: [carbontxt.org](https://carbontxt.org/) standard
Two no-measurement checks adapted from The Website Specification that reduce agent-traffic and retry waste:
/llms.txt + Markdown endpoints — does the site expose a curated Markdown index? Agents reading Markdown instead of rendered HTML+JS transfer a fraction of the bytes.These complement the green checks above; they do not change the WSG score.
After presenting the sustainability check report, automatically run /gc-verify in quick mode. This triggers a Chain-of-Verification (CoVe) process: extract claims from the report, generate adversarial questions, answer each independently, and present findings under a ## Verification (CoVe) heading.
/gc-setup/gc-measure-sci/gc-estimate-emissionsProvides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
npx claudepluginhub fullo/claude-plugins-marketplace --plugin sustainable-code-skill-setup