Tw parse

From SDiamante13/dotfiles · View interactive version

Tw parse is an AI agent skill from the GitHub repository SDiamante13/dotfiles. Analyze a local codebase and infer the architecture it is actually using, including repo kind, best-fit dominant architecture, directly evidenced coexisting patterns, major subsystem exceptions, confidence, docs-vs-code drift, and repo-fit hints for downstream agents. Use when prompts ask what archi

How to use this skill

Skill file

Parse

Overview

Identify the architecture a repository is using right now from code-first evidence. Produce one best-fit dominant architecture label, note meaningful subsystem variants, capture up to two directly evidenced coexisting patterns when they materially shape seams or contracts, call out architecture drift when docs and implementation disagree, and give narrow repo-fit hints that help downstream agents fit a change to the repo that already exists.

Keep the advice narrow. Describe how to work within the current repo's seams, ownership boundaries, and dialect; do not prescribe target architectures, migrations, or adjacent-skill routing.

Quick Start

Analyze a repository by reading its structure, build files, entrypoints, and dependency graph directly using Read, Glob, and Grep tools. Focus on the strongest evidence paths across code structure, build graph, tests/examples, runtime or deploy surfaces, and docs/ADRs.

Inputs

Workflow

  1. Establish the repo kind before naming the architecture.
  1. Collect static signals first.
  1. Map the evidence to the curated taxonomy and coexisting-pattern sweep.
  1. Derive repo-fit advice.
  1. Escalate only when static evidence is weak or contradictory.
  1. Produce the memo.

Output Contract

Return these sections in order:

  1. Repo Kind
  2. Dominant Architecture
  3. Confidence
  4. Why This Best Fits
  5. Major Subsystems / Coexisting Patterns
  6. Repo-Fit Advice
  7. Agent Handoff
  8. Evidence
  9. Architecture Drift
  10. Caveats

For each section:

Guardrails

Quick Heuristics

Resources

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.