software-engineering
Skill3 starsChanged 8 days agoMITView on GitHub
Core software engineering discipline for any project type (web, backend, mobile, desktop, embedded/IoT, CLI/library, data/ML, games, distributed/cloud) — architecture layers and dependency rules, cross-cutting concerns, change workflow, testing and code quality checklists. Use when writing, changing, reviewing or structuring code, deciding where code belongs, designing modules, or when the user asks about architecture, layers, clean code, best practices or "is this the right way".
10 other projects use a version of this.
Adopted by
Most recently taken up by
- g-cqd/skillstheir own version, first seen Nov 29, 2026
- atstaeff/ai-agentstheir own version, first seen Nov 29, 2026
- parthspatel/claude-skillstheir own version, first seen Nov 22, 2026
- owenlamont/skillstheir own version, first seen Oct 20, 2026
- Muhammad-Tariq/webgis-claude-skillstheir own version, first seen Oct 15, 2026
- SterlingChin/marvin-templatetheir own version, first seen Oct 8, 2026
Used with
Projects with it also use testing and code-review.
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.
NVIDIASkilltesting
Run Python and Rust tests for physicsnemo-curator using uv + pytest with coverage reporting via pytest-cov, and cargo-nextest for Rust tests. Includes benchmark workflows with pytest-benchmark and criterion.
Also in 3 projects that use this
GoogleSkillcode-review
Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.
Also in 3 projects that use this
Other versions10 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 10
- SterlingChin/marvin-template★ 1ksame name
- BejeweledMe/codex-pro-agent-skills★ 7same name
- atstaeff/ai-agents★ 4same name
- ffsshhttiikk/opencode-agents-skills★ 2same name
- g-cqd/skills★ 2same name
- joaocarloscruz/skills★ 1same name
- Muhammad-Tariq/webgis-claude-skills★ 1same name
- owenlamont/skills★ 1same name
- hallucinaut/skills★ 0same name
- parthspatel/claude-skills★ 0same name
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 repository26 other files it gives its agents.
- skills/ai-integration/references/agents.mdAGENTS.md
- agent-behaviorSkill
- agent-orchestraSkill
- ai-integrationSkill
- analysisSkill
- autonomous-loopSkill
- brand-ipSkill
- codebase-analysisSkill
- commerce-integrationsSkill
- company-setupSkill
- content-socialSkill
- daily-assistantSkill
- diagrams-mappingSkill
- growth-operationsSkill
- guided-discoverySkill
- infrastructure-planningSkill
- market-researchSkill
- memorySkill
- plannerSkill
- product-buildSkill
- researchSkill
- root-cause-analysisSkill
- security-operationsSkill
- token-economySkill
- visual-designSkill
- workflow-automationSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 10 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 31
Follow the codebase's existing patterns: before introducing new ones.
- Distinctive: line 41
Write/adjust a failing test that captures the requirement (or the bug).
- Distinctive: line 43
Run linters, type checks and the relevant test suite.
- Distinctive: line 50
Test behavior, not implementation details.
“Common” is measured: kept by at least 6 in 10 of the 10 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
Software Engineering
1. Identify the project type first
Detect from manifests and structure (package.json, pubspec.yaml, Cargo.toml, CMakeLists/platformio.ini,
pyproject + notebooks, Unity/Godot files, Dockerfile/k8s manifests …).
Then read only the matching file in references/types/:
| Type | File |
| Web frontend + backend/API | references/types/web.md |
| Mobile (iOS, Android, cross-platform) | references/types/mobile.md |
| Desktop | references/types/desktop.md |
| Embedded / IoT / firmware | references/types/embedded.md |
| CLI tools & libraries/SDKs | references/types/cli-library.md |
| Data pipelines & ML | references/types/data-ml.md |
| Games | references/types/game.md |
| Distributed / cloud-native | references/types/distributed.md |
Mixed projects: read each relevant file. Shared vocabulary for all types: references/architecture-layers.md.
2. Universal rules
- Dependencies point inward. Business/domain logic never imports UI, framework, DB or network code. Outer layers depend on inner ones through interfaces (ports/adapters).
- One reason to change per module. Split when a file mixes layers or concerns.
- Follow the codebase's existing patterns before introducing new ones. Consistency beats personal taste.
- Make the change easy, then make the easy change. Refactor in a separate step from behavior change.
- Boundaries validate; the core trusts. Validate and convert input at the edge (API, UI, sensor, file); inside, use typed, already-valid data.
- Errors are part of the design. Decide per layer: recover, translate, or propagate. Never swallow silently.
- No hidden global state. Pass dependencies explicitly; this is what makes code testable.
3. Change workflow
- Understand: locate the code, read its tests, find callers.
- Decide the layer the change belongs in (section 1 file).
- Write/adjust a failing test that captures the requirement (or the bug).
- Smallest change to pass. Then refactor while green.
- Run linters, type checks and the relevant test suite.
- Review your own diff: scope creep, debug leftovers, missing error paths, secrets.
4. Testing pyramid
- Unit (many, fast): domain rules, pure functions.
- Integration (some): adapters against real DB/queue/filesystem or faithful fakes.
- End-to-end (few): critical user journeys only. Test behavior, not implementation details. Each bug fix ships with a regression test.
5. Cross-cutting checklist (every change)
- Security: input validation, authz checks, no secrets in code/logs, dependencies pinned
- Errors: handled at the right layer, useful messages, no silent catch
- Observability: meaningful logs/metrics at boundaries, no noisy logs in hot paths
- Performance: no N+1 queries, no unbounded loops/memory, work off the hot/UI thread
- Config: environment-specific values externalized, sane defaults
- Compatibility: public APIs, data formats and migrations stay backward compatible or are versioned
- Accessibility & i18n (user-facing code)
- Docs: public interfaces and non-obvious decisions documented
6. Code review smells
Layer violations (SQL in UI, HTTP in domain) · god classes/files · duplicated logic · boolean-flag parameters · deep nesting · magic numbers · comments that restate code · dead code · tests that mock everything.
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.

