Codexkit Architecture Decision Writer logo

Codexkit Architecture Decision Writer

Community
hoavdc
codexkit-architecture-decision-writer

Write Architecture Decision Records (ADRs) following the Michael Nygard format. Captures context, options considered, decision rationale, and consequences. Use when making technology choices, framework selections, or any architectural decision that future developers need to understand.

Overview

Publisherhoavdc
RepositoryCodexKit
Skill namecodexkit-architecture-decision-writer
Stars
27
Forks
12
Bundled files
1
LicenseMIT
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 hoavdc on GitHub. Read the source before you install it.

Installation

Install the Codexkit Architecture Decision Writer 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/hoavdc/CodexKit/tree/main/skills/codexkit-architecture-decision-writer
  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/hoavdc/CodexKit.git /tmp/CodexKit
mkdir -p .claude/skills
cp -r /tmp/CodexKit/skills/codexkit-architecture-decision-writer .claude/skills/codexkit-architecture-decision-writer
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Codexkit Architecture Decision Writer 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 Codexkit Architecture Decision Writer 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 Codexkit Architecture Decision Writer 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 Decision Writer

When to Use

  • When choosing between technology options (framework, database, API style)
  • When making structural changes that affect multiple teams
  • When a decision needs to be documented for future reference
  • When onboarding new developers who ask "why did we do it this way?"

Procedure

Step 1 — Status & Context

Set the ADR status:

  • Proposed — under discussion
  • Accepted — decision made, implementation in progress
  • Superseded by ADR-XXX — replaced by a later decision
  • Deprecated — no longer relevant

Write the context:

  • What is the current situation?
  • What forces are at play? (technical constraints, business requirements, team skills)
  • What problem triggers this decision?

Step 2 — Decision Drivers

List the factors influencing this decision:

  • Must-haves (non-negotiable requirements)
  • Nice-to-haves (preferences)
  • Constraints (timeline, budget, team expertise)

Step 3 — Options Considered

For each option:

CriteriaOption AOption BOption C
[Criterion 1]✅ Good⚠️ Partial❌ Poor
[Criterion 2]⚠️ Partial✅ Good✅ Good
Learning curveLowMediumHigh
Community & EcosystemLargeMediumSmall
Long-term viabilityStableGrowingUncertain

Step 4 — Decision

State the decision clearly:

We will use [Option X] because [concise rationale].

The rationale should reference:

  • Which decision drivers tipped the balance
  • What trade-offs were accepted
  • What was explicitly rejected and why

Step 5 — Consequences

TypeConsequence
✅ Positive[Benefit of this decision]
⚠️ Risk[Risk accepted, with mitigation]
❌ Trade-off[What we lose by choosing this]
🔄 Follow-up[Actions needed as a result]

Step 6 — Review

Set a review date (6–12 months) and conditions that would trigger reconsideration:

  • Technology landscape changes significantly
  • Team composition changes
  • Performance requirements change

Inputs

InputRequiredFormat
Decision topicYesWhat architectural question is being decided
OptionsYesAt least 2 options considered
ConstraintsYesTechnical, business, or team constraints
StakeholdersRecommendedWho is affected by this decision

Output

markdown
# ADR-007: Use PostgreSQL for Primary Data Store

**Status:** Accepted
**Date:** 2024-03-15
**Deciders:** Engineering Lead, Platform Team

## Context
We are building a new order management system that requires ACID transactions,
complex joins across 15+ tables, and support for JSON documents for flexible
order metadata. Expected write volume: ~500 TPS peak.

## Decision Drivers
- Must support ACID transactions for financial data
- Must handle mixed relational + document workloads
- Team has strong SQL expertise (8/10 engineers)
- Must integrate with existing data warehouse (Snowflake)

## Options Considered
| Criteria | PostgreSQL | MongoDB | CockroachDB |
|----------|-----------|---------|-------------|
| ACID | ✅ Full | ⚠️ Document-level | ✅ Full |
| JSON support | ✅ JSONB | ✅ Native | ✅ JSONB |
| Team expertise | ✅ Strong | ⚠️ Moderate | ❌ Low |
| Operational cost | ✅ Low | ⚠️ Medium | ❌ High |
| Horizontal scaling | ⚠️ Read replicas | ✅ Native | ✅ Native |

## Decision
We will use **PostgreSQL 16** with JSONB columns for flexible metadata.

## Consequences
- ✅ Leverage existing team SQL expertise — no ramp-up time
- ✅ Mature ecosystem, extensive tooling
- ⚠️ Horizontal write scaling limited — acceptable for projected 500 TPS
- 🔄 Set up read replicas for reporting workloads
- 📅 Review in 12 months if write volume exceeds 2,000 TPS

Definition of Done

  • Context clearly describes the situation and forces
  • At least 2 options compared with criteria
  • Decision stated clearly with rationale
  • Consequences include positives, risks, and trade-offs
  • Review date and trigger conditions set

Quality Criteria

  • All claims reference specific frameworks, standards, or quantifiable data
  • Content matches the stated audience's expertise level
  • Recommendations are actionable — each includes a concrete next step
  • No unsupported assertions or generic filler language

Verification (4C)

CheckQuestion
CorrectnessDo referenced frameworks and standards match their official definitions?
CompletenessAre all key concepts covered without significant gaps for the stated audience?
Context-fitWould this be useful for someone new to this domain, or is it too advanced/too basic?
ConsequenceIf a stakeholder acted on this immediately, what could they misinterpret?

Edge Cases

  • Conflicting frameworks — State which framework takes precedence and why. Document the trade-off explicitly.
  • Rapidly changing domain — Note information currency date. Flag sections likely to need updates.
  • Audience has mixed expertise levels — Provide a glossary and mark advanced sections as optional.

Changelog

  • v1.0.0 — Initial release

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 Codexkit Architecture Decision Writer AI skill do?

Write Architecture Decision Records (ADRs) following the Michael Nygard format. Captures context, options considered, decision rationale, and consequences. Use when making technology choices, framework selections, or any architectural decision that future developers need to understand.

Why use Codexkit Architecture Decision Writer on TypingMind?

Because you install it once and use it with any model. Codexkit Architecture Decision Writer 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 Codexkit Architecture Decision Writer in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/hoavdc/CodexKit/tree/main/skills/codexkit-architecture-decision-writer. 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 Codexkit Architecture Decision Writer?

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 Codexkit Architecture Decision Writer?

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

Is the Codexkit Architecture Decision Writer AI skill free?

Yes. It is published on GitHub by hoavdc under the MIT license. 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 👇