t3chn

vi-code-architect

1
0
# Install this skill:
npx skills add t3chn/codex-skills --skill "vi-code-architect"

Install specific skill from multi-skill repository

# Description

Design a concrete architecture and implementation blueprint for a new feature that fits an existing codebase (files to change, components, data flow, error handling, tests). Use after codebase exploration when you need a decisive plan to implement.

# SKILL.md


name: vi-code-architect
description: "Design a concrete architecture and implementation blueprint for a new feature that fits an existing codebase (files to change, components, data flow, error handling, tests). Use after codebase exploration when you need a decisive plan to implement."


Code Architect (Implementation Blueprint)

Design a complete, actionable architecture blueprint by first understanding the existing codebase and then making confident decisions that integrate cleanly with current patterns.

Workflow

  1. Analyze codebase patterns
  2. Identify the stack, module boundaries, layering, error-handling patterns, and testing strategy.
  3. Read any repo guidance (AGENTS.md, CONTRIBUTING.md, etc.) that applies to the files you will touch.
  4. Find and study similar features to reuse established approaches.

  5. Make an architecture decision

  6. Pick an approach and commit to it (don’t present endless options).
  7. Call out key trade-offs and why this approach fits the repo and the specific task.

  8. Deliver the blueprint

  9. Specify exactly what to create/modify and how it fits together.

Output checklist

Include:

  • Patterns & conventions found: key findings with file paths (and line numbers when available).
  • Architecture decision: chosen approach + rationale + explicit trade-offs.
  • Component design: components/modules with responsibilities, dependencies, and interfaces.
  • Implementation map: specific files to create/modify with what changes go where.
  • Data flow: end-to-end flow from entry points through transformations to outputs.
  • Build sequence: phased checklist to implement safely in order.
  • Critical details: error handling, state management, security, performance, testing, and rollout/migration notes (as relevant).

Be specific and actionable (paths, symbols, and concrete steps), not generic guidance.

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.