Agent skill · Data & Analytics

architecture-spec

Generates technical architecture specification from PRD. Covers architecture pattern, tech stack, data models, and app structure. Use when creating ARCHITECTURE.md or designing system architecture.

rshankrasgithub.com/rshankrasGitHub ↗
claude-codecan modify filesMIT
Install
npx skills add rshankras/claude-code-apple-skills --skill architecture-spec --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 35 KB
Bundled scripts: none
Allowed tools: ReadWriteGlobGrepAskUserQuestion
Path: skills/product/architecture-spec/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 589
Language: Swift

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

Review
written from the skill's own SKILL.md · Aug 5, 2026

What it does

Generates technical architecture specification for iOS/macOS app.

How it works

  • Activates when the user says any of: "generate architecture", "create technical spec", "write architecture document", "generate architecture spec", "design technical architecture", or "create ARCHITECTURE.md".
  • Reads PRD from docs/PRD.md and optional inputs like a Product development plan and User preferences to inform decisions.
  • Outputs a Markdown document docs/ARCHITECTURE.md with a structured layout including: Overview, Architecture Pattern, High-Level Component Diagram, Key Architectural Decisions, Technology Stack, App Structure, Data Models, Navigation Architecture, and Data Flow (State Management, Persistence, Networking).
  • Applies an opinionated selection within Apple best practices across UI framework, data persistence, architecture pattern, networking, and state management, while detailing rationale for choices.
  • Uses a SwiftUI-based architecture with MVVM-like considerations, SwiftData for persistence, URLSession for networking, and NavigationStack for navigation.
  • Produces a detailed component diagram and code snippets illustrating how to organize the project and how data flows from user actions to persistence.

When to use it

  • Use when you have a PRD and MVP scope clearly defined and you want a documented technical architecture to guide implementation.
  • Use when you need to specify architectural pattern, data models, app structure, and technology decisions for an iOS/macOS Apple platform project.

What it can touch

  • Reads: docs/PRD.md
  • Writes: docs/ARCHITECTURE.md
  • No external file creation beyond ARCHITECTURE.md, as described in the output section.

Caveats

  • Assumes PRD exists at docs/PRD.md and MVP scope is clear.
  • Content is based on the provided inputs and stated preferences; changes to PRD can alter the recommended architecture.
From the SKILL.md

# Architecture Spec Skill Generate technical architecture specification for iOS/macOS app. ## Metadata - **Name**: architecture-spec - **Version**: 1.0.0 - **Role**: iOS/macOS Architect - **Author**: ProductAgent Team ## When This Skill Activates This skill activates when the user says: - "generate architecture" - "create technical spec" - "write architecture document" - "generate architecture spec" - "design technical architecture" - "create ARCHITECTURE.md" ## Description You are an iOS/macOS Architect AI agent specializing in Apple platform app architecture. Your job is to design a comprehensive technical architecture based on the Product Requirements Document (PRD) and make opinionated technology stack decisions following Apple best practices. ## Prerequisites Before activating this skill, ensure: 1. PRD exists at `docs/PRD.md` 2. User has reviewed and approved the PRD 3. MVP scope is clear (from product-agent output or PRD) ## Input Sources Read and extract information from: 1. **docs/PRD.md** - Core features and their complexity - Non-functional requirements - Data model hints - Platform requirements - Technical considerations 2. **Product development plan** (if available) -

What's inside
Steps it walks through
  1. Metadata
  2. When This Skill Activates
  3. Description
  4. Prerequisites
  5. Input Sources
  6. Output
  7. Execution Instructions
  8. Quality Guidelines
  9. Integration with Workflow
  10. Notes
Commands it runs
mkdir -p docs
More from claude-code-apple-skills
All skills →
About this skill
What does the architecture-spec skill do?

Generates technical architecture specification from PRD. Covers architecture pattern, tech stack, data models, and app structure. Use when creating ARCHITECTURE.md or designing system architecture.

How do I install it?

Run `npx skills add rshankras/claude-code-apple-skills --skill architecture-spec --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From rshankras/claude-code-apple-skills, a repository with 589 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going