code
Skill1 starsChanged 21 days agoMITView on GitHub
ALWAYS follow this style when writing Python / JavaScript / HTML / CSS code
27 other projects use a version of this.
Adopted by
Most recently taken up by
- Gucixdev/claude-skillstheir own version, first seen Nov 29, 2026
- mivtra/crafttheir own version, first seen Nov 29, 2026
- stophobia/claude-code-agentstheir own version, first seen Nov 22, 2026
- guaardvark/guaardvarktheir own version, first seen Nov 22, 2026
- RLinf/RLinftheir own version, first seen Nov 15, 2026
- nazmirket/skillstheir own version, first seen Nov 15, 2026
Used with
Projects with it also use test, plan and 4 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
Microsoft AzureSkilltest
Also in 4 projects that use this
BlockSkillplan
Draft a TDD, PRD, or lightweight plan in the conversation without committing it.
Also in 4 projects that use this
AnthropicSkilldebug
Structured debugging session — reproduce, isolate, diagnose, and fix. Trigger with an error message or stack trace, "this works in staging but not prod", "something broke after the deploy", or when behavior diverges from expected and the cause isn't obvious.
Also in 4 projects that use this
AWSSkillship
Finalize dev work on an issue branch — update docs, push, and open a PR.
Also in 3 projects that use this
Microsoft AzureSkillverify
End-to-end app testing pipeline for browser-based web apps on cloud browsers via Azure Playwright Workspaces: verify the live app, author tests for working flows, heal failing tests, then re-run with video and produce one consolidated report. Three phases (app verification, test authoring, test healing) plus a scoped final sanity run; each phase emits a sub-report. Use when asked to "verify my app", "make sure my app works and has good test coverage", "do a full QA pass", "add tests where I'm missing coverage", "fix failing tests and add new ones", "smoke test before deploy", "QA my deployment", or any combined verify-and-test ask. Requires Azure CLI (`az login`) and a Playwright Workspace resource ID — bootstraps configs on first invocation. Browser-based web apps with Playwright only — not for unit/API tests, native mobile/desktop, load/perf, or full accessibility audits.
Also in 3 projects that use this
GoogleSkilltdd
Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.
Also in 3 projects that use this
Other versions27 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 27
- RLinf/RLinf★ 5.7ksame name
- trycompai/comp★ 2.2ksame name
- microsoft/Resource2Skill★ 551same name
- guaardvark/guaardvark★ 371same name
- g2i-ai/agents★ 52same name
- phj128/autoworker★ 18same name
- LuD1161/codex-review-skill★ 8same name
- DongDuong2001/pudo-code-system★ 5same name
- hsiong/project-skills★ 4same name
- devjiwonchoi/skills★ 2same name
17 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository32 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agent-friendly-cliSkill
- anand-laptopsSkill
- anand-objectivesSkill
- anand-writing-styleSkill
- blind-spotSkill
- calendarSkill
- data-analysisSkill
- data-storySkill
- data-vizSkill
- decision-compressionSkill
- designSkill
- devtoolsSkill
- evidence-provenanceSkill
- expert-lensSkill
- failure-redteamSkill
- generate-fake-dataSkill
- ideation-protocolSkill
- interactionsSkill
- interactive-storytellingSkill
- interface-cheat-sheetSkill
- llmSkill
- meeting-prepSkill
- meeting-response-styleSkill
- memorable-explanationsSkill
- mental-modelsSkill
- pdfSkill
- possibility-scanSkill
- post-mortemSkill
- reframe-questionSkill
- stability-checkSkill
- verification-gateSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
23 rules. 0 are common, 16 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 24 edited versions we read keep these.
16
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Use native platform features
- Distinctive: line 11
Write it one line if that is clear and correct
- Distinctive: line 14
Use popular, modern, minimal, fast library
- Distinctive: line 15
Write the minimum code that works
- Distinctive: line 20
Prefer deletion over addition, boring over clever, 1 file over many.
- Distinctive: line 21
Prefer data over code: structures beat conditionals.
- Distinctive: line 23
Keep happy path linear and obvious.
- Distinctive: line 25
Never skip: validation at trust boundaries (user input, files, APIs), error handling that prevents data loss, security, accessibility
- Distinctive: line 33
Use type hints and docstrings (document contracts and surprises, not mechanics)
- Distinctive: line 39
When tests exist, or writing new code, add and run tests first
- Distinctive: line 40
Use existing commands and environment - don't reconstruct dependencies ad hoc
- Distinctive: line 41
Run minimal existing tests for changed behavior.
- Distinctive: line 43
Test final outputs, not just the source / intermediates
- Distinctive: line 44
Test user-visible front-end changes with:
- Distinctive: line 49
Never say "verified" without evidence.
- Very specific: line 61
Avoid python or python3. Prefer uv run script.py for PEP 723 scripts and uv run --with pkg ...
- Very specific: line 64
Avoid requirements.txt. Unless pyproject.toml is present, add dependencies as PEP 723 metadata:
- Distinctive: line 74
Prefer when really needed:
- Very specific: line 84
Prefer modern HTML/CSS/platform features over custom JavaScript or libraries.
- Very specific: line 95
Prefer Baseline Widely Available features.
- Very specific: line 103
Use modern JavaScript and ES modules: ?., ??, destructuring, spread, implicit returns (=> over => { return })
- Very specific: line 104
No TypeScript, but // @ts-check.
- Very specific: line 108
Prefer textContent/DOM APIs for untrusted content.
“Common” is measured: kept by at least 6 in 10 of the 24 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
- Inspect relevant code, tests, config, sample input/output before editing. Don't assume structure or behavior you can check directly
- Minimize new code and changes. Prefer the first working option:
- Skip if unnecessary
- Reuse existing code
- Use native platform features
- Write it one line if that is clear and correct
- Use standard library
- Use existing library
- Use popular, modern, minimal, fast library
- Write the minimum code that works
- Unfamiliar, non-trivial feature (protocol, format, algorithm, integration)? Learn (don't install/run) from 2-4 admired, maintained modern implementations: README, core file, top issues. In ≤5 lines say: library to adopt, design to borrow, or pitfalls to avoid. Then pick the smallest. Skip for familiar or <50-line work.
- Prefer deletion over addition, boring over clever, 1 file over many. Minimize abstractions, scaffolding, or dependencies
- Prefer data over code: structures beat conditionals. Prefer config.{json|yaml|toml|...} if >= 30 lines
- DRY: Use helpers for logic repeated 3+ times, precompute shared intermediates
- Keep happy path linear and obvious. Write flow first, then fill in code
- Early returns fail fast and reduce nesting. Skip defensive fallbacks, existence checks, ... unless essential
- Never skip: validation at trust boundaries (user input, files, APIs), error handling that prevents data loss, security, accessibility
- Change existing code minimally. Retain existing comments. Follow existing style. Preserve behavior outside requested changes. Ask before materially expanding scope or touching unrelated files/config
- Make scripts re-startable if interrupted. Inspect state first for unexpected changes
Docs:
- I save my prompts, e.g. in
prompts.md. Commit these, too. - Use type hints and docstrings (document contracts and surprises, not mechanics)
- Comment non-obvious stuff that'll trip future maintainers: why, why not alternatives, pitfalls, invariants, input/output shape, ...
- Mark deliberate shortcuts with a known limit:
shortcut: <limit>; <upgrade path>(e.g.# shortcut: O(n²) scan; index by id past ~10k rows)
Tests:
- When tests exist, or writing new code, add and run tests first
- Use existing commands and environment - don't reconstruct dependencies ad hoc
- Run minimal existing tests for changed behavior. Extend relevant existing tests before creating new test/file
- Lint/format only files you changed. Don't auto-format legacy code unless asked
- Test final outputs, not just the source / intermediates
- Test user-visible front-end changes with:
- DOM/source checks for behavior: interactions, navigation, overlaps, cut-off elements, readability, colour/font size count, ...
- Screenshots for appearance changes: responsive layout, overlaps, contrast & visibility, visual impact, ...
- Lighthouse audit via Chrome DevTools MCP else
npx -y lighthouse@latest: when semantics, controls, colors, performance changes
- Keep tests fast
- Never say "verified" without evidence. List changes, validations with results, and remaining risks/unknowns
Ops:
- Log status & progress for long tasks (>5s). Log before action. Flush logs
Bug fixes:
- Fix the root cause, not just the reported symptom. Check callers before patching
Python
Avoid python or python3. Prefer uv run script.py for PEP 723 scripts and uv run --with pkg ... for ad-hoc code/tests.
Tests importing a PEP 723 script must use the repo test environment or explicitly include its dependencies.
Avoid requirements.txt. Unless pyproject.toml is present, add dependencies as PEP 723 metadata:
#!/usr/bin/env -S uv run --script
# /// script
# requires-python = ">=3.14"
# dependencies = ["scipy>=1.10", "httpx"]
# ///Prefer when really needed:
- typer|click > argparse
- httpx2 > httpx > requests
- lxml > xml
- duckdb > pandas > csv
- tenacity for retries
Web
Prefer modern HTML/CSS/platform features over custom JavaScript or libraries.
- Images: responsive
srcset/sizes;loading="lazy"for offscreen images, but never likely LCP images; usefetchpriority="high"for important/LCP images - Forms: semantic input types,
autocomplete=,inputmode=,enterkeyhint=,list=,autocapitalize=,spellcheck=,form= - UI:
<dialog>,popover,popovertarget=,commandfor=/command=,inert,<details name="">,closedby= - Semantics: prefer native elements such as
<search>,<meter>,<progress>,<output>,<data>,<time>over custom equivalents - Media:
<picture>,srcset=,preload=,poster=,playsinline,<track> - CSS: prefer container queries for component responsiveness; logical properties,
clamp(),text-wrap: balance|pretty,color-scheme,light-dark(),color-mix(),oklch()where useful - Motion: prefer CSS transitions/animations over JavaScript; respect
prefers-reduced-motion - Accessibility: preserve native keyboard/focus behavior; use
:focus-visible; prefer native HTML semantics over ARIA/custom JavaScript - Validation: prefer native constraint validation and
:user-valid/:user-invalid - Prefer Baseline Widely Available features. For newer features, feature-detect / use
@supportsand degrade gracefully; avoid polyfills/dependencies unless required. - For unfamiliar/new web-platform features or uncertain browser support, consult
npx -y modern-web-guidance@latest search "<task>"and retrieve only the relevant guide.
JavaScript
Preferred JS style:
- Hyphenated HTML class/ID names (
id="user-id"notid="userId") - Use modern JavaScript and ES modules:
?.,??, destructuring, spread, implicit returns (=>over=> { return }) - No TypeScript, but
// @ts-check..d.tsis OK for packages - With
fetch(), checkresponse.okbefore consuming the response unless non-2xx responses are intentionally handled - Show loading/pending state for user-visible async operations
- Handle expected/recoverable errors where they occur; let unexpected errors propagate to a top-level handler
- Prefer
textContent/DOM APIs for untrusted content; never interpolate untrusted data intoinnerHTML
For browser debugging, use the devtools skill.
For single-page HTML, prefer file:// when a server isn't required.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

