software_architecture
Skill3 starsChanged 2 months agoMITView on GitHub
Guide for quality-focused software architecture. Use this when designing architecture, writing code, or analyzing software systems.
1 other project uses a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- krishnakanthb13/antigravity_global_skillsedited, first seen Jul 4, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- krishnakanthb13/antigravity_global_skills★ 50100% same
Wrote their own version · 0
None found.
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 repository46 other files it gives its agents.
- agy-customizationsSkill
- antigravity-guideSkill
- api-and-interface-designSkill
- browser-testing-with-devtoolsSkill
- ci-cd-and-automationSkill
- code-review-and-qualitySkill
- code_reviewSkill
- code-simplificationSkill
- context-engineeringSkill
- create_launcherSkill
- create_skillSkill
- daily_logSkill
- debugging-and-error-recoverySkill
- debug_issueSkill
- deprecation-and-migrationSkill
- document_apiSkill
- documentation-and-adrsSkill
- enhance_uiSkill
- frontend_designSkill
- frontend-ui-engineeringSkill
- generate_release_imageSkill
- git-workflow-and-versioningSkill
- idea-refineSkill
- idea_to_actionSkill
- impeccableSkill
- incremental-implementationSkill
- list_featuresSkill
- open_source_prepSkill
- optimize_codebaseSkill
- performance-optimizationSkill
- permissioned-githubSkill
- planning-and-task-breakdownSkill
- release_helperSkill
- repo_infographicSkill
- scaffold_testsSkill
- security-and-hardeningSkill
- security_auditSkill
- shipping-and-launchSkill
- spec-driven-developmentSkill
- test-driven-developmentSkill
- test_runnerSkill
- ui_ux_pro_maxSkill
- update_docsSkill
- using-agent-skillsSkill
- using-ui-stackSkill
- web_performance_optimizationSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 7 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Early Return Pattern: Always use early returns when possible over nested conditions.
- Distinctive: line 15
ALWAYS search for existing solutions before writing custom code.
- Distinctive: line 16
Use libraries for common problems (retry logic, state management, validation).
- Very specific: line 20
AVOID generic names (utils, helpers, common, shared).
- Very specific: line 21
USE domain-specific names (OrderCalculator, InvoiceGenerator).
- Distinctive: line 23
Do NOT mix business logic with UI components.
- Distinctive: line 24
Keep database queries out of controllers.
- Distinctive: line 34
NIH (Not Invented Here) Syndrome: Don't build custom auth when Auth0 exists.
- Very specific: line 35
Dumping Grounds: Don't create utils.js or shared.js with lots of unrelated functions.
- Distinctive: line 39
Document every architectural decision with trade-offs.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Software Architecture
This skill provides guidance for quality-focused software development and architecture. It focuses on Clean Architecture and Domain-Driven Design principles.
Core Rules & Principles
- Early Return Pattern: Always use early returns when possible over nested conditions.
- Decompose Components: Break down components longer than 80 lines and split files larger than 200 lines.
- Library-First Approach:
- ALWAYS search for existing solutions before writing custom code.
- Use libraries for common problems (retry logic, state management, validation).
- Clean Architecture & DDD:
- Separate domain entities from infrastructure. Keep business logic independent of frameworks.
- Naming & Bounded Contexts:
- AVOID generic names (
utils,helpers,common,shared). - USE domain-specific names (
OrderCalculator,InvoiceGenerator).
- AVOID generic names (
- Separation of Concerns:
- Do NOT mix business logic with UI components.
- Keep database queries out of controllers.
- SOLID Principles:
- Single Responsibility: A class should have one reason to change. Decompose large monoliths.
- Open/Closed: Design for extension without modifying existing source code (e.g., plugins, inheritance).
- Liskov Substitution: Subclasses must be interchangeable with their base classes.
- Interface Segregation: Prefer many specific interfaces over one general-purpose interface.
- Dependency Inversion: Depend on abstractions (interfaces/abstract classes), not concrete implementations.
Anti-Patterns to Avoid
- NIH (Not Invented Here) Syndrome: Don't build custom auth when Auth0 exists.
- Dumping Grounds: Don't create
utils.jsorshared.jswith lots of unrelated functions. Every module should have a single, clear purpose.
Architecture Decision Records (ADRs)
Document every architectural decision with trade-offs. If making a significant decision, use the following framework:
ADR Template
# ADR-[XXX]: [Decision Title]
## Status
Proposed | Accepted | Deprecated | Superseded by [ADR-YYY]
## Context
- **Problem**: [What problem are we solving?]
- **Constraints**: [Team size, scale, timeline, budget]
## Options Considered
| Option | Pros | Cons | Complexity |
| ------ | ---- | ---- | ---------- |
| Opt A | ... | ... | Low/High |
## Decision
[What we chose - be specific]
## Rationale
[Why - tie to requirements and constraints]
## Consequences
- **Positive**: [Benefits we gain]
- **Negative**: [Costs/risks we accept]
- **Mitigation**: [How we'll address negatives]
## Revisit Trigger
- [When to reconsider this decision]Storage
Store these records sequentially in docs/architecture/ (e.g., adr-001-use-nextjs.md).
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.

