.agents/skills/create-project-context/SKILL.md
Creates or updates .agents/PROJECT_CONTEXT.md with project conventions, tech stack, code standards, testing strategy, and product architecture. Triggered by: bun nvst create project-context.
npx skillsauth add lpng-plenge/frontend-IA create-project-contextInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Create or update .agents/PROJECT_CONTEXT.md so the agent has a single, stable reference for conventions and architecture across all iterations.
.agents/PROJECT_CONTEXT.md already exists.
--mode yolo skip all questions and infer from the codebase and the current iteration's PRD..agents/PROJECT_CONTEXT.md.| Source | Used for |
|--------|----------|
| it_{iteration}_product-requirement-document.md | Understanding product goals and implied stack/conventions |
| it_{iteration}_PRD.json | Use cases and scope of the current iteration |
| .agents/PROJECT_CONTEXT.md (if present) | Existing content to preserve or update |
| User answers (interactive mode) | Filling in sections that cannot be inferred |
Ask only about sections that cannot be confidently inferred from the PRD and codebase. Present lettered options where applicable so the user can reply with short codes (e.g. "1A, 2B").
1. Primary language(s) and runtime?
A. TypeScript / Node.js
B. Python
C. Go
D. Rust
E. TypeScript (frontend) + Python (backend)
F. TypeScript (frontend) + Go (backend)
G. TypeScript (frontend) + Rust (backend)
H. Other: [specify]
2. Main framework(s)?
A. Next.js
B. React + Vite
C. FastAPI / Flask
D. Gin / Echo / Fiber (Go)
E. Actix-web / Axum (Rust)
F. Other: [specify]
3. Package manager?
A. bun
B. npm
C. pnpm
D. yarn
4. Test approach?
A. TDD — tests first, then code
B. Code first, tests after
C. Tests only for critical paths
5. Test runner?
A. Vitest
B. Jest
C. Pytest
D. Go built-in (`go test`)
E. Rust built-in (`cargo test`)
F. Other: [specify]
6. Git flow?
A. Feature branches per iteration (feature/it_XXXXXX)
B. Trunk-based (commits directly to main)
C. Other: [specify]
7. Style / formatting conventions?
A. Prettier + ESLint defaults
B. Project-specific config (already committed)
C. `gofmt` / `goimports` (Go — enforced by default)
D. `rustfmt` (Rust — enforced by default)
E. No enforced formatting
8. Any hard constraints (monorepo, deployment target, env restrictions)?
[Open answer — skip if none]
Write .agents/PROJECT_CONTEXT.md using only the sections relevant to the project. Include all sections that have content; omit those that are genuinely not applicable.
# Project Context
<!-- Created or updated by `bun nvst create project-context`. Cap: 250 lines. -->
## Conventions
- Naming: [files, variables, components]
- Formatting: [tool + config]
- Git flow: [branching strategy, commit convention]
- Workflow: [any process agreement]
## Tech Stack
- Language(s): …
- Runtime: …
- Frameworks: …
- Key libraries: …
- Package manager: …
- Build / tooling: …
## Code Standards
- Style patterns: …
- Error handling: …
- Module organisation: …
- Forbidden patterns (if any): …
## Testing Strategy
- Approach: [TDD | code-first | critical-paths only]
- Runner: …
- Coverage targets (if any): …
- Test location convention: …
## Product Architecture
- High-level diagram or description: …
- Main components / layers: …
- Data flow summary: …
## Modular Structure
- [package or module]: [responsibility]
- …
## Implemented Capabilities
<!-- Updated at the end of each iteration by bun nvst create project-context -->
- (none yet — populated after first Refactor)
Before writing the file, count projected line count.
.agents/PROJECT_CONTEXT_archive.md and replace with a one-line reference.Before saving the file:
state.json → project_context.status set to "pending_approval" and project_context.file set to ".agents/PROJECT_CONTEXT.md" after writingtesting
Refines an existing test plan based on user feedback or adversarial challenge mode. Triggered by: bun nvst refine test-plan.
development
Refines an existing refactor plan based on user feedback or adversarial challenge mode. Triggered by: bun nvst refine refactor-plan.
development
Refines .agents/PROJECT_CONTEXT.md via editor mode or challenge mode. Challenge mode validates the document against the actual codebase and detects compliance issues. Triggered by: bun nvst refine project-context.
documentation
Updates an existing product requirement document based on user feedback. Triggered by: bun nvst refine requirement.