본문으로 건너뛰기
cccskills
무료GitHub에 공개

improve-codebase-architecture

Analyze a codebase for high-leverage architectural improvements and explain evidence, tradeoffs, and next steps. Use explicitly for architecture audits or deep-module refactoring opportunities.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(3)

  • SKILL.md2.4 KB
  • agents/openai.yaml170 B
  • HTML-REPORT.md1.7 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Improve Codebase Architecture

Look for architectural friction that a focused structural change could reduce. Favor improvements that shrink interfaces, concentrate related complexity, and make important behavior easier to test and understand.

Scope the investigation

Follow the user's named subsystem or pain point. Otherwise use recent changes, repeated maintenance friction, test difficulty, or dependency structure to select a useful area. Read relevant domain language and ADRs when present so recommendations respect intentional boundaries.

Use the codebase-design skill when its deep-module vocabulary will sharpen the analysis. Explore independently in parallel only when the repository is large enough to benefit and the lanes do not duplicate work.

Find evidence

Consider:

  • interfaces that expose nearly as much complexity as their implementations;
  • behavior spread across modules that change together;
  • dependency seams that leak internal details;
  • testing that bypasses the real call path because no stable seam exists; and
  • repeated wrappers or indirection that add little leverage.

Treat these as prompts for investigation, not violations. Apply the deletion test where useful: would removing a layer concentrate complexity behind a better interface, or merely move it elsewhere?

Present candidates

For each material candidate, cite the affected code and explain:

  • the observed friction;
  • the structural change being considered;
  • expected benefits and tradeoffs;
  • evidence that the seam is real rather than hypothetical;
  • test impact and migration risk; and
  • conflicts with existing decisions.

Rank recommendations by evidence and likely leverage. Keep speculative ideas clearly labeled and avoid proposing a wide refactor solely for aesthetic consistency.

Use prose, a compact table, or diagrams according to what best communicates the relationships. When a visual HTML artifact is useful and authorized, load the HTML report guide.

Explore a selected candidate further only when the user requests it or the current task includes design. Update domain records or ADRs only when those artifacts are in scope and the decision is durable enough to justify them.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Create or review an AGENTS.md file so coding agents get stable repo-local instructions: environment setup, testing, style, security boundaries, PR policy, and handoff rules. Use when a repo lacks durable agent guidance or when a custom harness needs a predictable context file.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

stevesolun/ctx5892026년 10월 15일 업데이트

ask-matt

무료

Recommend the smallest Matt Pocock skill or short skill sequence that fits the user's current goal.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

stevesolun/ctx5892026년 10월 15일 업데이트

cavecrew

무료

Decision guide for delegating to caveman-style subagents. Tells the main thread WHEN to spawn `cavecrew-investigator` (locate code), `cavecrew-builder` (1-2 file edit), or `cavecrew-reviewer` (diff review) instead of doing the work inline or using vanilla `Explore`. Subagent output is caveman-compressed so the tool-result injected back into main context is ~60% smaller — main context lasts longer across long sessions. Trigger: "delegate to subagent", "use cavecrew", "spawn investigator/builder/reviewer", "save context", "compressed agent output".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

stevesolun/ctx5892026년 10월 15일 업데이트

caveman

무료

Ultra-compressed communication mode. Cuts token usage ~75% by dropping filler, articles, and pleasantries while keeping full technical accuracy. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

stevesolun/ctx5892026년 10월 15일 업데이트

caveman

무료

Ultra-compressed communication mode. Cuts token usage ~75% by speaking like caveman while keeping full technical accuracy. Supports intensity levels: lite, full (default), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman. Also auto-triggers when token efficiency is requested.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

stevesolun/ctx5892026년 10월 15일 업데이트

Ultra-compressed commit message generator. Cuts noise from commit messages while preserving intent and reasoning. Conventional Commits format. Subject ≤50 chars, body only when "why" isn't obvious. Use when user says "write a commit", "commit message", "generate commit", "/commit", or invokes /caveman-commit. Auto-triggers when staging changes.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

stevesolun/ctx5892026년 10월 15일 업데이트

stevesolun의 스킬 모두 보기

이 스킬의 문제 신고