krishnakanthb13/antigravity_global_skills/software-architecture

Claude Code and agent skill by krishnakanthb13/antigravity_global_skills

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Guide for quality-focused software architecture. Use this when designing architecture, writing code, or analyzing software systems.

Install

npx vskill@latest install krishnakanthb13/antigravity_global_skills/software-architecture

SKILL.md

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

  1. Early Return Pattern: Always use early returns when possible over nested conditions.
  2. Decompose Components: Break down components longer than 80 lines and split files larger than 200 lines.
  3. Library-First Approach:
  • ALWAYS search for existing solutions before writing custom code.
  • Use libraries for common problems (retry logic, state management, validation).
  1. Clean Architecture & DDD:
  • Separate domain entities from infrastructure. Keep business logic independent of frameworks.
  1. Naming & Bounded Contexts:
  • AVOID generic names (utils, helpers, common, shared).
  • USE domain-specific names (OrderCalculator, InvoiceGenerator).
  1. Separation of Concerns:
  • Do NOT mix business logic with UI components.
  • Keep database queries out of controllers.
  1. 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.js or shared.js with 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
markdown
# 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).

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/krishnakanthb13/antigravity_global_skills/software-architecture/badge)](https://verified-skill.com/skills/krishnakanthb13/antigravity_global_skills/software-architecture)

Something wrong with this skill or its page? Tell us.