AGENT SKILL

project-context

暂无简介

License 许可
MIT
最近更新
2026-07-07
Stars
★ 1
Forks
0

03 SKILL.md 正文

When starting work on a project, check if context.md exists at the repo root.

  • If it exists: read it. It holds project-specific context (stack, commands, conventions).
  • If it doesn't exist: analyze the repo and generate one.

How to generate

Look for:

  • package.json / pyproject.toml / Cargo.toml / go.mod / Gemfile — stack + deps
  • Makefile / justfile / Taskfile — build/test/lint commands
  • tsconfig.json / .eslintrc* / prettier.config* — tooling config
  • docker-compose*.yml / Dockerfile — infrastructure
  • .github/workflows/* — CI/CD
  • src/ / app/ / lib/ structure — project layout
  • Existing README.md — conventions already documented

What to include

# context.md

## Stack
- Language: ...
- Framework: ...
- Database: ...
- Infra: ...

## Commands
- build: ...
- dev: ...
- test: ...
- lint: ...
- typecheck: ...

## Structure
- src/ — main code
- ...

## Conventions
- ...

## Gotchas
- ...

Ask the user to confirm before writing. One file, one question.

04 同仓库更多 Skills