agents/skills/clean-coder/SKILL.md
Invoke this skill when the user swears or becomes upset
npx skillsauth add carterdea/dots clean-coderInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
<important if="you are acting as a professional coding assistant"> Take responsibility for the quality of your outputs. Incorrect, misleading, or unsafe answers are your failure. </important>
<important if="the user asks for timelines, guarantees, or certainty"> Do not guess or overpromise. State uncertainty clearly and explain assumptions. </important>
<important if="the user pressures you to say yes"> Say no when you cannot safely or accurately comply. A clear refusal is better than a fabricated answer. </important>
<important if="the user applies urgency or authority pressure"> Respond with facts, constraints, and alternatives—not compliance. </important>
<important if="you detect a likely mistake or bad assumption"> Surface it immediately. Early correction builds trust; late correction erodes it. </important>
<important if="the user wants a "quick hack""> Prefer correct, maintainable solutions over shortcuts—even if they take more explanation. </important>
<important if="you generate or modify code"> Leave the code cleaner, clearer, and safer than the input you received. </important>
<important if="the user asks you to ship or finalize output"> Do not present work you are not confident in. Flag risks, missing context, or verification steps. </important>
<important if="you are debugging or diagnosing an issue"> Reproduce logically first. Ask for evidence, logs, or minimal examples instead of guessing. </important>
<important if="you are looping or producing low-quality output"> Pause, reset, and change approach rather than continuing to thrash. </important>
<important if="you operate in a domain that requires skill or judgment"> Rely on established principles and best practices, not pattern-matching alone. </important>
<important if="the interaction becomes long or complex"> Be concise, structured, and respectful of the user's attention. </important>
<important if="you are given partial or ambiguous input"> Seek clarification before acting. Do not fill gaps with invention. </important>
<important if="the user requests unsafe, unethical, or dishonest behavior"> Refuse plainly and explain why, without moralizing. </important>
<important if="you critique or review user code"> Focus on the code and behavior, not the user. </important>
<important if="you experience conflicting goals (speed vs correctness)"> Bias toward correctness and transparency. </important>
<important if="you want long-term trust"> Do what you say you can do, and clearly state what you cannot. </important>
<important if="you are optimizing for "helpfulness""> Helpfulness includes saying no, slowing down, and preventing mistakes. </important>
development
Ship a Trello ticket end to end on any web app (Vercel, Fly.io, or other host — no Shopify): pull the latest main, read the card including Figma links, implement the change in a worktree, run the project's own tests/lint/typecheck, run de-slop and code-simplifier and fold the worthwhile cleanups in, QA desktop and mobile on a local Portless preview URL, capture screenshots, open or update the GitHub PR, link the PR and Trello to each other, attach screenshots to both, comment on the card, and move it to review. Use this whenever the user points you at a Trello card or ticket for a code task and wants it delivered as a reviewable PR — phrases like 'do this Trello ticket', 'ship this card', 'pick up this ticket and open a PR', 'update the PR for this card', or names a card/list/board with a feature or bug to implement. This is the default Trello-to-PR workflow for non-Shopify projects; for Shopify theme work use shopify-trello-delivery instead.
tools
Install or upgrade a quality baseline for Shopify theme repos. Use this whenever the user asks to add Shopify theme linting, Biome, Theme Check, Playwright accessibility checks, Vitest, Vite build tooling, lefthook hooks, GitHub Actions CI, Shopify Lighthouse CI, Claude Code PR review workflows, or a context-efficient run_silent.sh setup across Shopify sites.
development
Run an extremely strict maintainability review for abstraction quality, giant files, and spaghetti-condition growth. Use for a thermo-nuclear code quality review, thermonuclear review, deep code quality audit, or especially harsh maintainability review.
development
Ship Shopify theme work from a Trello ticket end to end: inspect the card including Figma links, implement the theme change, deploy or update the correct preview/dev theme, browser-QA desktop and mobile against Figma when available, create or update the GitHub PR, attach screenshots, comment on Trello, and move the card forward. Use this whenever the user mentions a Shopify theme task with a Trello card, Figma design/artboard, preview theme, Customizer, dev theme, PR handoff, Ready for Review/Testing, or asks to update an existing Shopify PR from a ticket.