Agent skill

Architecture Patterns

by KartikLabhshetwar in KartikLabhshetwar/better-shot

Deep dive into software architecture for macOS. An agent skill from KartikLabhshetwar/better-shot.

Custom licenceAuto-check passedDevelopment

Install Architecture Patterns

skills CLI
$ npx skills add KartikLabhshetwar/better-shot --skill architecture-patterns -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install KartikLabhshetwar/better-shot architecture-patterns --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/KartikLabhshetwar/better-shot.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/macos-development/architecture-patterns .claude/skills/architecture-patterns && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
architecture-patterns
GitHub stars
2.4k
Used in
2 other repos
Token cost
~1.4k tokens
SKILL.md length
384 words
Files
4
Skills in repo
12
Repo updated
First seen
Licence
Custom licence

At a glance

Deep dive into software architecture for macOS. An agent skill from KartikLabhshetwar/better-shot.

  • Works in 3 steps: Understand the Context → Review Against Module Guidelines → Provide Structured Feedback
  • Designing app architecture
  • SKILL.md covers Your Role, Core Focus Areas, When This Skill Activates and Architectural Decision Guide, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Architecture Patterns is an agent skill from KartikLabhshetwar/better-shot. Deep dive into software architecture for macOS. Covers SOLID principles, design patterns, and modular code organization. Use when designing app architecture or refactoring.

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files (for example `design-patterns.md`, `modular-design.md` and `solid-detailed.md`).

It sits in Development, covering Design patterns, Software architecture and Refactoring. It works with macOS. The repository describes itself as: Screenshot, screen recording, and video editor for macOS. Native SwiftUI app with capture deck, 75+ customizable shortcuts, URL scheme automation, and self-hosted cloud sharing…

When your agent uses it

  • Designing app architecture
  • Tasks that involve Design patterns
  • Tasks that involve Software architecture

Example prompts

  • “/architecture-patterns”

Requirements

  • Pre-approved tools (allowed-tools): Read, Glob, Grep

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Understand the Context
  2. Review Against Module Guidelines
  3. Provide Structured Feedback

What it can do on your machine

Read from SKILL.md and the folder at commit 102b364. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Glob
    • Grep

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are swift).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Architecture Patterns loads about 1.4k tokens when it runs. Until then it costs about 49 tokens; SKILL.md has 384 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~49
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 384 words (~1,397 tokens).

“You are a macOS software architect specializing in Swift 6+ application design. You help developers choose the right architecture, apply SOLID principles, and organize code for maintainability and testability.”

— opening of SKILL.md by KartikLabhshetwar, Custom licence
name
architecture-patterns
allowed-tools
Read, Glob, Grep
last_verified
2026-07-16
review_by
2027-06-22
os_version
iOS 27 / macOS 27

Read the full SKILL.md on GitHub

Files

SKILL.md and 3 other files in .agents/skills/macos-development/architecture-patterns of KartikLabhshetwar/better-shot.

  • SKILL.md
  • design-patterns.md
  • modular-design.md
  • solid-detailed.md

Open the folder on GitHubat commit 102b364

Used in 2 other repositories

We found 3 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 2 other GitHub owners. This page covers the copy in KartikLabhshetwar/better-shot, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Architecture Patterns next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Architecture Patterns compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Architecture Patterns this skillKartikLabhshetwar/better-shot2.4k2 repos~1.4kAutomated safety check: PassCustom licence
Brooks Audithyhmrright/brooks-lint1.5k1 repos~537Automated safety check: PassMIT
Py Rigmudrii/hermesd119—~6.3kAutomated safety check: PassMIT
Architecture Patternssecondsky/claude-skills22711 repos~2.4kAutomated safety check: PassMIT
Smellsmallnest/goal-workflow289—~10kAutomated safety check: PassMIT
Nestjs Best Practicesrolling-scopes/rsschool-app10k6 repos~1.2kAutomated safety check: PassMIT

Similar skills

  • Brooks Audit

    hyhmrright/brooks-lint

    Architecture audit that maps module dependencies, checks layering integrity, and flags structural decay across a codebase, drawing on twelve classic engineering books.

    1.5k GitHub starsUsed in 1 repo~537 tokens
    DevelopmentAuto-check passed
  • Py Rig

    mudrii/hermesd

    A skill your agent uses when building, reviewing, or refactoring Python code that requires strong maintainability discipline: SRP, DRY, OCP, explicit dependency injection, TDD/ATDD workflow, strict…

    119 GitHub stars~6.3k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Architecture Patterns

    secondsky/claude-skills

    Implement proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design.

    227 GitHub starsUsed in 11 repos~2.4k tokens
    DevelopmentAuto-check passed
  • Smell

    smallnest/goal-workflow

    Detect software architecture bad smells, algorithmic complexity hotspots, and anti-patterns in a codebase.

    289 GitHub stars~10k tokensUpdated 25 days ago
    DevelopmentAuto-check passed
  • Nestjs Best Practices

    rolling-scopes/rsschool-app

    NestJS best practices and architecture patterns for building production-ready applications.

    10k GitHub starsUsed in 6 repos~1.2k tokens
    Backend & APIsAuto-check passed
  • Protect Knowledge Boundary

    ShiinaLabs/wifi-lens

    Invoke only when the user explicitly requests a WiFi Lens knowledge-boundary audit or the active task names that audit as a required deliverable.

    118 GitHub stars~1.6k tokensUpdated yesterday
    MobileAuto-check passed

More from KartikLabhshetwar/better-shot

All 12 skills in this repo
  • Appkit Swiftui Bridge

    KartikLabhshetwar/better-shot

    Expert guidance for hybrid AppKit-SwiftUI development. An agent skill from KartikLabhshetwar/better-shot.

    2.4k GitHub starsUsed in 2 repos~1.1k tokens
    Auto-check passed
  • Ip As Logo

    KartikLabhshetwar/better-shot

    Generate extremely simple, cute, personified square character images with rounded heavy forms, two purposeful character colors, one solid background color, and a dominant lower-corner composition.

    2.4k GitHub starsUsed in 1 repo~4.3k tokens
    Auto-check passed
  • Coding Best Practices

    KartikLabhshetwar/better-shot

    Reviews macOS Swift 6+ code for modern idioms, SOLID principles, SwiftData patterns, and concurrency best practices.

    2.4k GitHub starsUsed in 2 repos~1.8k tokens
    Auto-check passed
  • macOS Capabilities

    KartikLabhshetwar/better-shot

    Expert guidance on macOS platform capabilities. An agent skill from KartikLabhshetwar/better-shot.

    2.4k GitHub starsUsed in 2 repos~1.1k tokens
    Auto-check passed
  • macOS Development

    KartikLabhshetwar/better-shot

    Comprehensive macOS development guidance including Swift 6+, SwiftUI, SwiftData, architecture patterns, AppKit bridging, and macOS 26 Tahoe APIs.

    2.4k GitHub starsUsed in 2 repos~735 tokens
    Auto-check passed
  • Swiftdata Architecture

    KartikLabhshetwar/better-shot

    Deep dive into SwiftData design patterns and best practices.

    2.4k GitHub starsUsed in 2 repos~1.2k tokens
    Auto-check passed

Works with

Categories

Questions about Architecture Patterns

What does Architecture Patterns do?

Deep dive into software architecture for macOS. An agent skill from KartikLabhshetwar/better-shot. Architecture Patterns is an agent skill from KartikLabhshetwar/better-shot. Deep dive into software architecture for macOS.

When should I use Architecture Patterns?

Architecture Patterns fits situations like: designing app architecture; tasks that involve Design patterns; tasks that involve Software architecture.

How do I install Architecture Patterns in Claude Code?

Run `npx skills add KartikLabhshetwar/better-shot --skill architecture-patterns -a claude-code`. Or copy the skill folder (.agents/skills/macos-development/architecture-patterns in KartikLabhshetwar/better-shot) into .claude/skills/architecture-patterns in your project. Claude Code loads it when a task matches its description.

How do I install Architecture Patterns in Codex?

Run `npx skills add KartikLabhshetwar/better-shot --skill architecture-patterns -a codex`. Or copy the skill folder (.agents/skills/macos-development/architecture-patterns in KartikLabhshetwar/better-shot) into .agents/skills/architecture-patterns in your project. Codex loads it when a task matches its description.

Can I use Architecture Patterns in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add KartikLabhshetwar/better-shot --skill architecture-patterns -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/architecture-patterns, .gemini/skills/architecture-patterns, .github/skills/architecture-patterns and .opencode/skills/architecture-patterns in your project.

What does Architecture Patterns need to run?

SKILL.md names no scripts, command-line tools or credentials: Architecture Patterns is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Glob, Grep.

Does Architecture Patterns access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Architecture Patterns safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Architecture Patterns use?

Architecture Patterns has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Architecture Patterns use?

About 1.4k tokens (SKILL.md is roughly 5.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Architecture Patterns?

Skills that share tags, products or a category with Architecture Patterns: Brooks Audit (hyhmrright/brooks-lint, 1.5k stars), Py Rig (mudrii/hermesd, 119 stars), Architecture Patterns (secondsky/claude-skills, 227 stars) and Smell (smallnest/goal-workflow, 289 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Architecture Patterns?

KartikLabhshetwar (a GitHub user) maintains it in KartikLabhshetwar/better-shot, which has 2,366 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 1, 2026.

Source: KartikLabhshetwar/better-shot on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.