skills/project-context/SKILL.md
Keep durable coding-agent repo context across sessions, handoff, long-running implementation, multi-agent follow-through, and reusable reference notes.
npx skillsauth add perhapsspy/project-context 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.
Keep durable repo context in ordinary files so later sessions can resume without rebuilding state.
Use this skill when work should leave durable repo context: resume, handoff, long-running work, reusable reference notes, a current task brief, and an append-only trail.
Do not bootstrap for read-only questions, one-shot inspections, or implicit migration of scattered legacy docs. If the layout is missing, choose explicit adoption or migration.
docs/reference/**.BRIEF.md.logs/*.md.docs/
reference/**/*.md
tasks/yyyy/mm-dd/<task-slug>/
BRIEF.md
logs/{DECISIONS,WORKLOG}.md
[optional] <purpose-named-backlog>.md
[optional] working/
[optional] archive/
[optional] BACKLOG.md
docs/reference/**: current trusted reference context only. Keep principles, rules, and reliable facts here. Do not store investigation history, progress, or timeline narrative.docs/tasks/yyyy/mm-dd/<task-slug>/: default task workspace for real work.BRIEF.md: rewrite-only compact resume card, not a report or log. Keep stable goal, scope boundary, current facts or conclusions, current resumable state, and nearest next step.BRIEF.md at each phase boundary so it contains only current resumable state; move phase history and evidence to logs/, working/, or archive/.logs/DECISIONS.md and logs/WORKLOG.md: append-only decision and execution trail. Keep evidence here, not in the brief.[optional] <purpose-named-backlog>.md: unresolved carry-over only, such as RESEARCH-BACKLOG.md or QA-BACKLOG.md. Add it only when one next step is not enough.[optional] working/: in-progress drafts, probes, staging evidence, and undecided plans.[optional] archive/: completed, rejected, replaced, or stale remnants that no longer own current state.[optional] docs/BACKLOG.md: not-yet-active repo-level future work only. Once active, move state into a dated task and remove the repo backlog item.BRIEF.md OwnershipUse only these top-level headings unless the user explicitly asks otherwise:
Goal or IntentScopeCurrent Understanding or Current FactsCurrent StateNext Step or Next ActionsWorking BoundarySemantic rules:
Goal states the stable task target only. Keep background and rationale elsewhere.
Scope is a boundary summary, not a touched-file list.
Current Understanding is for compact conclusions only. Move design policy or durable conclusions to a current-canonical task doc or docs/reference/** when reusable; move investigation notes, benchmark tables, and staging evidence to working/ or logs.
Current State says what is true if the task resumes now. Move "what was done" narration to logs/WORKLOG.md.
Next Step owns only the nearest restartable move, not a backlog. For finished work, use a compact Reopen if ... condition when useful.
Do not add sections such as Validation, Files Changed, Touched Files, History, Worklog, Investigation, Evidence, Completed, or Checklist.
Do not include command output, validation transcripts, investigation history, benchmark matrices, PR/release/deploy chronology, completed-work history, or touched-file inventories.
If validation status matters, summarize it in one Current State sentence and keep details in logs/WORKLOG.md.
If exact paths materially lower reopen cost, put the smallest useful repo-relative path set in Working Boundary, usually at most 5 paths.
Budgets are soft review triggers: usually keep BRIEF.md around 300-500 words, each section around 1-5 bullets, and Scope around 1-3 bullets. Repeated pressure means the material needs another owning surface.
BRIEF.md, logs/DECISIONS.md, and logs/WORKLOG.md; larger tasks may add current-canonical docs or routers when they make the task easier to scan.working/; chronology and validation detail in logs; completed, replaced, or stale docs in archive/.Logs are append-only, but not command transcripts.
For logs/WORKLOG.md:
For logs/DECISIONS.md:
Background, Decision, Why, Impact.DECISIONS.md or the compact current state in BRIEF.md.For both logs:
**YYYY-MM-DD**.scripts/task_logs.py path and use its append entrypoints by default. If unavailable, append manually with the same block shape.<repo-root>, <task-root>, and $CODEX_HOME; never user-specific absolute paths.BRIEF.md and canonical logs.Read reusable context.
rg in docs/reference/**/*.md for the active topic.Check one related task.
BRIEF.md first.Decide reuse or new task.
Ensure the task shell.
docs/reference/ and one dated task with BRIEF.md and logs.Write canonical surfaces.
BRIEF.md in place.docs/reference/**; keep investigation and progress in logs.Add optional surfaces only when needed.
If context is missing, proceed with explicit assumptions and record corrections after execution.
BRIEF.md into append history, reusable docs, validation notes, file inventory, or rationale.Scope become a touched-file list.Current State narrate work sequence instead of resumable state.Next Step become a backlog.docs/reference/** into investigation notes, progress, or timeline narrative.docs/BACKLOG.md.WORKLOG.md.BRIEF.md and WORKLOG.md unless the second surface adds a new interpretation.Run the bundled checker by resolving scripts/check_runtime_shape.py from the installed project-context skill directory and executing it from the active repo root. If running from a subdirectory, pass --repo-root <path> when nested docs trees could confuse root detection.
The checker covers runtime shape only: required files, latest log-block shape, task/reference path markers, and secret-like markers. It does not judge ownership, semantic quality, full history, merge correctness, or broader scope discipline.
Before finalizing:
BRIEF.md if it contains forbidden sections, path inventory, progress narration, a backlog-like next step, or more detail than needed to resume.working/, logs, or archive/.BRIEF.md without reconstructing state?docs/reference/** instead of task logs?logs/*.md?testing
Audit scattered repository docs and notes, then move only the right working context into the `project-context` structure.
data-ai
Example TaskFlow authoring pattern for inbox triage. Use when messages need different treatment based on intent, with some routes notifying immediately, some waiting on outside answers, and others rolling into a later summary.
data-ai
Example TaskFlow authoring pattern for inbox triage. Use when messages need different treatment based on intent, with some routes notifying immediately, some waiting on outside answers, and others rolling into a later summary.
data-ai
OpenProse VM skill pack. Activate on any `prose` command, .prose files, or OpenProse mentions; orchestrates multi-agent workflows.