Architecture logo

Architecture

Community
chanmathew
architecture

Lock system architecture for a capability or epic — modules, schemas, public contracts, and proposed slices.

Overview

Publisherchanmathew
Repositoryagent-skills
Skill namearchitecture
Stars
26
Forks
1
Bundled files
1
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by chanmathew on GitHub. Read the source before you install it.

Installation

Install the Architecture AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/chanmathew/agent-skills/tree/main/architecture
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/chanmathew/agent-skills.git /tmp/agent-skills
mkdir -p .claude/skills
cp -r /tmp/agent-skills/architecture .claude/skills/architecture
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Architecture in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Architecture on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Architecture is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Architecture

Lock how services, modules, endpoints, schemas, and stores talk to each other. Concrete at system boundaries, schematic inside. Types, call stacks, and file layout belong to /program-design.

Core contract

  • One capability or epic — work that will become multiple tickets, or one ticket that still needs new seams.
  • The spec (if any) is the behavioural source of truth. This document is the recommended system shape.
  • Inspect the repository. Prefer evidence over generic best practices.
  • Read-only: inspect code, docs, tests, and history; do not modify production code.
  • Stop after the architecture unless the user asks to continue.

Do not include: per-function signatures, call stacks, file-change maps, implementation sequences, or pattern dumps with existing/proposed bodies. Those are /program-design.

Do not restate the spec. Link or summarise; /to-spec owns product narrative.

When to use / skip

text
wayfinder → grill-with-docs → /to-spec
                 ↓
           /architecture     # this skill — new seams / multi-ticket
                 ↓
           /program-design   # code shape, when taste matters
                 ↓
           /to-tickets → /implement
SituationSkill
Idea or trade-offs still open/grilling or /grill-with-docs first
External API/vendor semantics unclear/research first
Module interface is the unknown/design-an-interface, fold the result in
State model or UI feel uncertain/prototype first
New seams, naming, or multi-ticket shape/architecture
Architecture is obvious; code taste is notSkip to /program-design
Obvious single-ticket, existing patternsSkip to /implement

Steps

1. Establish the capability

Read the spec, conversation, ADRs, domain glossary (CONTEXT.md), and project instructions.

Ready when /to-tickets could slice this into tracer bullets. If the input is already a small ticket on an established pattern, recommend skipping this skill.

Record outcome, in-scope behaviour, non-goals, and constraints. Recommend defaults for non-blocking ambiguity. Stop for the user only when a decision changes behaviour, public APIs, data ownership, security, persistence, compatibility, system boundaries, dependencies, or scope.

This step is complete when outcome, non-goals, and blocking ambiguity are explicit.

2. Inspect the repository

Trace the current path through entry, domain logic, persistence, integrations, and tests. Note existing modules and conventions to reuse. Conflicting patterns: pick one, with evidence.

This step is complete when every proposed seam has an existing counterpart or is named as new and justified.

3. Design the end state

Show before/after at module and system boundaries (mermaid flowchart or sequence). Not class-level.

Define coarse structure only:

  • Packages, modules, or top-level folders — not every file.
  • Public contracts: endpoints, schemas, events, provider ids.
  • Runtime flow from entry to observable result, at those boundaries.

When integrating external systems, add a short Verified basis citing official docs. Use /research for the long form; distill here.

Prefer, in order:

  1. Existing code over new code.
  2. Local code over a shared abstraction.
  3. Established repository patterns over new patterns.
  4. Explicit code over generic frameworks.
  5. Narrow MVP surface over speculative API roadmaps.
  6. One clear execution path over interchangeable layers.

New interfaces, factories, adapters, registries, or shared utilities require a current problem with multiple immediate call sites.

This step is complete when a reviewer can see the proposed system shape and how work flows through it.

4. Propose tracer-bullet slices

Recommend how /to-tickets should break the capability. For each slice:

  • Title
  • Delivers — end-to-end behaviour when this slice merges
  • Blocked by — other slices, or None
  • Architecture anchor — sections or contracts this slice implements

Each slice must be independently demoable or verifiable. Merge slices that only make sense together. Do not attach file lists or test commands.

This step is complete when the breakdown covers the capability and follows tracer-bullet rules.

5. Resolve architecture questions

Record material decisions:

  • Question
  • Chosen: recommendation and rationale
  • Options not chosen: and why

Grill before writing when decisions are still unsettled. Include migration, security, performance, observability, and rollback only when the change creates them.

This step is complete when no blocking decision remains implicit.

6. Write the document

Capture git metadata for the frontmatter (branch, sha).

Write to the repository's established work-artifact location. If none exists, use docs/agents/architecture/<short-slug>.md.

Follow references/architecture-template.md. Before handing off, verify:

  • One capability or epic, not a file tweak.
  • Before/after architecture is visible at module boundaries.
  • Proposed slices are tracer bullets with blocking edges.
  • Public contracts only — no call stacks, function bodies, or file maps.
  • No blocking decision remains implicit.

Shortened form

For a bounded capability that is one tracer-bullet ticket but still needs architectural approval:

  • Frontmatter, summary, current / desired state, not doing
  • One architecture diagram
  • Public contracts
  • Resolved decisions (if any)
  • Approval gate

Handoff

Report:

  1. Path to the architecture document.
  2. Concise summary of the recommended system shape.
  3. Proposed slice count and frontier slice.
  4. Blocking decisions, or None.
  5. Confirmation that production code was not modified.
  6. Next step:
text
/program-design using <architecture-path>

If code shape is obvious and the user will slice next:

text
/to-tickets using <architecture-path>

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Architecture AI skill do?

Lock system architecture for a capability or epic — modules, schemas, public contracts, and proposed slices.

Why use Architecture on TypingMind?

Because you install it once and use it with any model. Architecture is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Architecture in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/chanmathew/agent-skills/tree/main/architecture. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Architecture?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Architecture?

As many as you like. As long as a model supports skills, you can use Architecture with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Architecture AI skill free?

It is published on GitHub by chanmathew. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇