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

mk:project-context

Generate or update docs/project-context.md — the single source of truth for project conventions, tech stack, and anti-patterns. Loaded by all agents as a "constitution" to ensure consistent behavior.

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

설치 방법 보기

포함된 파일(3)

  • SKILL.md4.3 KB
  • templates/project-context-template.md1.6 KB
  • templates/skeleton.md1.8 KB

SKILL.md(원문)

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

Project Context Generator

Creates docs/project-context.md — the agent "constitution" that every agent loads on activation.

To generate the full documentation suite (README, architecture, code standards, etc.), use mk:docs-init instead. mk:project-context generates only the agent constitution.

Purpose

Eliminate context drift between agents. Without a single authoritative file, agents infer conventions independently and make conflicting decisions. Project context solves this by providing one document all agents read first.

Actions

generate

Scan the codebase and create docs/project-context.md from scratch.

Scan targets:

  • package.json / Cargo.toml / go.mod / pyproject.toml → tech stack
  • tsconfig.json / eslint.* / prettier.* → code conventions
  • **/test/** / **/*.test.* / **/*.spec.* / **/*.cy.* → testing patterns
  • Existing docs/ → architecture decisions, prior context
  • .env.example → environment variables (names only, not values)

Output: docs/project-context.md using templates/project-context-template.md

update

Re-scan codebase and update existing docs/project-context.md. Preserves manual edits in sections marked <!-- manual -->.

init

Write a TODO-filled skeleton to docs/project-context.md for greenfield projects where generate would produce empty sections (no codebase to scan yet).

Behaviour:

  • If docs/project-context.md already exists → refuse with error. Use update instead.
  • If absent → write templates/skeleton.md to docs/project-context.md.
  • Creates docs/ directory if it does not exist.

When to use init vs generate:

SituationAction
Empty or near-empty project, < 5 source filesinit — fill manually
Established project with real codegenerate — auto-derive
Existing docs/project-context.md is staleupdate — re-scan, preserve manual edits

When to Run

  • First time: After mk:bootstrap or mk:docs-init
  • After architecture changes: New framework, new database, major refactor
  • Periodically: When agents produce inconsistent code (symptom of stale context)

Focus on the Unobvious

The template emphasizes facts agents cannot infer from code:

  • WHY a framework was chosen (not just what it is)
  • Rejected alternatives ("use Zustand, NOT Redux")
  • Anti-patterns specific to this project
  • Testing boundaries (what to unit test vs e2e)

Template

See templates/project-context-template.md for the full structure.

Gotchas

  • Stale context is worse than no context — re-run update after major architecture changes
  • The template asks for "rejected alternatives" — this is the highest-value content. If you chose Zustand over Redux, say WHY
  • Don't list every file path — agents can Glob for that. Focus on RULES and CONVENTIONS
  • <!-- manual --> sections survive update action but NOT generate — backup before regenerating from scratch
  • If project-context.md conflicts with CLAUDE.md, CLAUDE.md wins (it's the higher-priority document)
  • init refuses to overwrite an existing docs/project-context.md — this is intentional. Delete the file manually if you truly want to reset to a blank skeleton.

Integration

All agents load docs/project-context.md in their Required Context section. If the file doesn't exist, agents behave exactly as before (graceful degradation).

Files in this skill

  • SKILL.md — you are here
  • templates/project-context-template.md — output template used by generate action
  • templates/skeleton.md — TODO-placeholder constitution template used by init action

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

Use this skill to generate well-branded interfaces and assets for MeowKit (AI Agent Toolkit for Claude Code), either for production or throwaway prototypes/mocks/etc. Contains essential design guidelines, colors, type, fonts, assets, and UI kit components for prototyping.

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

ngocsangyem/MeowKit152026년 7월 28일 업데이트

mk-advise

무료

Turn a raw idea into ONE honest recommendation: interview one question at a time until confirmed, then give a verdict with trade-offs and a checklist. Not for options or debate.

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

ngocsangyem/MeowKit152026년 7월 28일 업데이트

Browser automation CLI for agents: navigate, click/fill, screenshot, extract data, test apps, Electron/Slack, cloud browsers. NOT for the user's real Chrome profile/cookies (mk:chrome-profile).

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

ngocsangyem/MeowKit152026년 7월 28일 업데이트

Detects the right agent and complexity tier at Phase 0 orient; runs first in every workflow. NOT for runtime agent routing inside a single skill.

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

ngocsangyem/MeowKit152026년 7월 28일 업데이트

Angular v20+ patterns: components, signals, services, forms, routing, HTTP, testing, SSR. Auto-activates on .ts files in Angular projects (angular.json detected).

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

ngocsangyem/MeowKit152026년 7월 28일 업데이트

Design and review durable REST, GraphQL, RPC, or event API contracts: shape, compatibility, pagination, error semantics. Discovers existing consumers first. Not implementation, schema, or release.

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

ngocsangyem/MeowKit152026년 7월 28일 업데이트

ngocsangyem의 스킬 모두 보기

이 스킬의 문제 신고