architecture
When structure is the problem — improve an existing architecture without changing its goals, or rethink it from first principles when the user explicitly asks.
Skill by bryan824
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/bryan824-architecture
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/architecture
What's inside
- Skill name
architecture- Description
- When structure is the problem — improve an existing architecture without changing its goals, or rethink it from first principles when the user explicitly asks.
- License
- MIT
- Instructions
- 56 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Architecture Choose a better system shape before designing implementation details. Keep repository files unchanged. Write a report file only when the user requests one. First name the posture: - **Improve** — preserve product goals, domain language, public contracts, and accepted constraints. - **Rethink** — challenge inherited constraints and propose a bold target only when the user explicitly asks for an overhaul. For either posture: - Read current docs, contracts, tests, consumers, and recent friction before judging structure. - Separate real constraints from inertia. Public promises, persisted data, compliance, and explicit user direction are real; internal callers and stale layouts are movable. - Judge interfaces by what callers must know versus behavior hidden behind them — everything a caller must know counts, invariants, ordering, error modes and all, not just the type signature. Depth is a property of the interface, never of the implementation: deep does not mean monolithic, and private seams are fine. Depth gives callers leverage, meaning more behavior per unit of interface they must learn, and gives maintainers locality, meaning changes and bugs concentrate in one place. Say which of the two a candidate delivers. - Testability is evidence about a boundary, not a ban on internal tests. Exercise caller-facing behavior and use narrower seams when they expose important failures honestly. Excessive setup or mocking can indicate coupling; explain the cause before reshaping the module. - Apply the deletion test: if removing a layer removes complexity, delete it; if complexity leaks into callers, deepen the boundary. - A seam earns its cost through caller leverage, maintenance locality, a trust boundary or testability—not an implementation count. One adapter can isolate a real dependency; speculative variation is not a reason to add one. - Prefer a change proven through one behavior seam. Relocated complexity is not improvement. For **Improve**, rank evidence-backed candidates by leverage versus blast radius. Recommend one only when evidence supports a change; no worthwhile candidate is a valid result. For **Rethink**, produce a target model, a kill list, assumptions, and falsifiers. Keep inherited pieces only when evidence says they still earn their place. Compare alternative interfaces only when that choice matters. Lead with the recommendation and name the fragile assumption. ## Optional discovery and report mode Use this mode when the user asks for improvement candidates before choosing a refactor. Do not require it for an already chosen change. 1. Scope to the upcoming change or named pain point. Otherwise, inspect recent history for frequently changed areas, then confirm friction in current callers and tests. Churn alone is not evidence of a defect. 2. Present a small set of distinct candidates, or none; do not fill a quota. Each cites paths and a concrete caller/test trace, shows a compact before/after diagram, and explains what changes or disappears. Include contract/test impact, dependency limits, blast radius, confidence, and assumptions. Describe changed responsibilities, not proposed interfaces. 3. Default to a compact chat report. If the user requests HTML, create a uniquely named static file in the OS temp directory, outside the repository. Provide its absolute path. Use inline CSS/SVG with escaped text, no scripts or external resources. Check its rendering with available browser tooling; otherwise disclose that rendering is unverified. 4. For report-only requests, stop without an interview. Otherwise, ask which candidate to explore, including none, and wait. Use the host's structured question tool when available. Selection permits discussion, not edits. Explore only the chosen candidate. For unresolved behavior choices, use `design` when available; otherwise ask directly. Use `plan` only when dependencies, risk, or handoff require it. Deliver: posture, current constraints, candidate report or recommended architecture, what disappears, contract/test impact, risks, and next step. Stop before implementation.
From bryan824/kirin-pi, MIT.
More from bryan824/kirin-pi
- 0.567score
design
bryan824
When intent or consequential choices are unclear — resolve goals, boundaries, contracts, and an approved direction before building.
SkillAFreshness: AClaude Code +9 - 0.567score
harness
bryan824
When maintaining, assessing or redesigning the agent harness itself — skills, agents, extensions, hooks, tools, setup, docs and tests — or absorbing upstream…
SkillAFreshness: AClaude Code +9 - 0.567score
write-skill
bryan824
Creating, revising, or cleaning a skill — keep one useful mindset, a discriminating trigger, and only guidance that earns its context cost.
SkillAFreshness: AClaude Code +9 - 0.567score
frontend-design
bryan824
When creating, restyling, or holistically reviewing web UI — set a coherent aesthetic direction, coordinate its design disciplines, and build or assess the…
SkillAFreshness: AClaude Code +9 - 0.567score
frontend-motion
bryan824
When deciding whether a frontend interaction benefits from motion, or designing or reviewing state, enter/exit, and gesture motion — make movement purposeful…
SkillAFreshness: AClaude Code +9 - 0.567score
frontend-polish
bryan824
When refining component surfaces, elevation, optical alignment, icons, or finish after the structure is sound — remove distracting detail while preserving the…
SkillAFreshness: AClaude Code +9 - 0.567score
rust
bryan824
When writing, refactoring, testing, or configuring Rust — follow Bryan's toolchain, error-handling, crate, API-design, and structure preferences and the…
SkillAFreshness: AClaude Code +9 - 0.567score
frontend-color
bryan824
When defining, changing, or reviewing UI color tokens, themes, contrast, gamut, or light/dark/increased-contrast appearances — preserve semantic meaning and…
SkillAFreshness: AClaude Code +9 - 0.565score
teach
bryan824
When the user explicitly wants a guided lesson or course — teach a focused session in chat by default, with a persistent learning workspace only on request.
SkillAFreshness: AClaude Code +9 - 0.561score
commit
bryan824
When asked for a commit, its message, or a push — preserve staged intent and verified scope; execute only explicitly authorized operations.
SkillAFreshness: AClaude Code +9 - 0.561score
frontend-layout
bryan824
When shaping or reviewing a frontend's spatial structure—grouping and aligning content, setting reading order, adapting a component to its container, or…
SkillAFreshness: AClaude Code +9 - 0.561score
frontend-writing
bryan824
When product UI needs words that help someone choose, recover, or complete a flow — make UX copy disappear through clear, consistent, localization-safe…
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 11, 2026 (17 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/bryan824/kirin-pi
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from bryan824
- 0.567score
frontend-motion
bryan824
When deciding whether a frontend interaction benefits from motion, or designing or reviewing state, enter/exit, and gesture motion — make movement purposeful…
SkillAFreshness: AClaude Code +9 - 0.567score
frontend-design
bryan824
When creating, restyling, or holistically reviewing web UI — set a coherent aesthetic direction, coordinate its design disciplines, and build or assess the…
SkillAFreshness: AClaude Code +9 - 0.567score
frontend-color
bryan824
When defining, changing, or reviewing UI color tokens, themes, contrast, gamut, or light/dark/increased-contrast appearances — preserve semantic meaning and…
SkillAFreshness: AClaude Code +9 - 0.567score
harness
bryan824
When maintaining, assessing or redesigning the agent harness itself — skills, agents, extensions, hooks, tools, setup, docs and tests — or absorbing upstream…
SkillAFreshness: AClaude Code +9 - 0.567score
write-skill
bryan824
Creating, revising, or cleaning a skill — keep one useful mindset, a discriminating trigger, and only guidance that earns its context cost.
SkillAFreshness: AClaude Code +9 - 0.567score
frontend-polish
bryan824
When refining component surfaces, elevation, optical alignment, icons, or finish after the structure is sound — remove distracting detail while preserving the…
SkillAFreshness: AClaude Code +9
Cite this page
architecture skill. Agent Mart. https://agentmart.dev/skills/bryan824-architecture (last updated 2026-10-24)