.cursor/skills/generate-project-state-report/SKILL.md
Examines the project comprehensively and produces two files inside docs/reports/YYYY-MM-DD_project_state_<ModelName>/: a project state report (README.md) for an AI-agent audience, and a Codex framework usage document (codex_framework_usage.md). Use when asked to "generate a project report", "state of the project", "document the project for another AI", or any variant of that intent.
npx skillsauth add doesitscript/dotfile-vnext generate-project-state-reportInstall 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.
Produce a durable, AI-readable snapshot of the project's current state plus a dedicated document describing how the Codex framework is actively being used.
The primary audience is another AI agent that may be joining the repo fresh. The goal is to give that agent enough grounded context to be productive quickly without having to rediscover patterns from scratch.
This skill is also used as a maturity test: the quality of the report indicates how well the agent understands the project, not just how well it summarizes text.
Use this skill when:
Do not use this skill for narrow topic documentation. This skill is for a comprehensive project-level snapshot.
Create a new directory:
docs/reports/<YYYY-MM-DD>_project_state_<ModelName>/
Where:
<YYYY-MM-DD> is today's date<ModelName> is the short identifier for the model generating this report
(e.g. Claude-4.6-Sonnet, GPT-5, Gemini-2.5-Pro)The agent should use its own model identifier — not a generic label — so reports from different models are distinguishable by filename alone.
Create two files inside that directory:
| File | Purpose |
|---|---|
| README.md | Main project state report — comprehensive, AI-audience |
| codex_framework_usage.md | Dedicated document on how the Codex framework is currently being used |
Do not create these files until the exploration phases are complete. Produce output from understanding, not from premature drafting.
Before exploring the project, read the existing reports in docs/reports/ to:
Key prior report locations:
docs/reports/2026-03-26_project_state_GPT-5/ — GPT-5 Codex sessiondocs/reports/2026-03-26_project_state_Gemini-2.5-Pro/ — Gemini 2.5 Prodocs/reports/2026-03-26_project_state_Claude-4.6-Sonnet/ — Claude 4.6 Sonnet (Cursor IDE)Claude in Cursor IDE resolved the key open question from prior reports: whether
.cursor/rules/*.mdc files are injected into agent sessions. In Cursor, they are —
confirmed by their presence in the system context as always_applied_workspace_rules.
This is a Cursor-specific observation. Other runtimes (OpenAI Codex, Gemini) may
behave differently.
Explore the following surfaces in roughly this order. Read, inspect, and synthesize — do not draft output yet.
inventory/inventory.yaml — the authoritative system mapinventory/group_vars/*.yaml — per-group variablesinventory/host_vars/*.yaml — per-host variables (note secret hygiene)AGENTS.md — the durable behavioral contractdocs/codex_framework/README.md — framework capability map and statusdocs/codex_framework/partner_process.md — working philosophydocs/codex_framework/implemented_plans/ — accepted, implemented decisions.cursor/rules/ — active rule files (list all, read key ones).cursor/skills/ — list all skills.cursor/mcp.json — configured MCP serversroles/mcp_servers/README.md — MCP server role patternroles/mcp_servers/ai.mcp_servers.instructions.md — canonical pattern docls playbooks/ — all playbooks including sub-directoriesls roles/ — all role directoriesgit log --oneline -20 — recent commit activitygit status — current working tree statels docs/plans/ — approved plansls docs/diagnostics/ — diagnostic reference docsls artifacts/troubleshooting/ — collected troubleshooting artifactsansible.cfg — key configuration (inventory, vault, logging, callbacks).envrc presence and purpose (do not read secrets).ansible-lint and .pre-commit-config.yaml — verification infrastructuredocs/intake/ — operator feedback on AI response qualitydocs/lessons-learned/codex/ — codex-specific lessonsdocs/lessons-learned/ansible/ — ansible-specific lessonsBefore drafting either file, synthesize the following internally:
Do not produce a report that simply summarizes what you read. Produce one that reflects judgment.
The main report must include:
This document focuses entirely on how the Codex framework is being used right now.
A future model reading this document should be able to answer: "Is this framework real and operational, or is it documentation that describes intended behavior?" The answer must be supported with evidence, not assertion.
After writing both files:
README.md points to codex_framework_usage.mdREADME.md lists the actual files consultedYYYY-MM-DD ensures reports sort chronologically by directory name.docs/reports/
2026-03-26_project_state_GPT-5/
README.md
state_snapshot.yaml
current_codex_architecture.md
2026-03-26_project_state_Gemini-2.5-Pro/
README.md
codex_framework_implementation.md
2026-03-26_project_state_Claude-4.6-Sonnet/
README.md
codex_framework_usage.md
<YYYY-MM-DD>_project_state_<ModelName>/ ← new report goes here
README.md
codex_framework_usage.md
Additional files (like state_snapshot.yaml) are optional and may be added if the
model finds them useful for structured data consumers.
testing
Creates a zip archive from the project root while excluding .git and downloaded dependency/source folders. Use when the user asks to zip a project without git metadata or dependencies, including short trigger prompts like zipprojectroot, @zipprojectroot, archiveproject, or run zipprojectroot.
documentation
Reads .envrc, creates or updates .envrc.sample with sanitized placeholder values safe for committing, and ensures .envrc is in .gitignore. Use when adding secrets to .envrc, setting up a new project environment, creating a sample env file, protecting secrets from git, or when asked to sanitize, clean, or document environment variables.
documentation
Registers remote documentation URLs in project-level .cursor/config.json and processes them for active use. Use when the user provides doc sources, asks to add/index docs, or requests @doc handles with suggested titles.
testing
Stage only related work, exclude unrelated dirty files, and create one or more grouped multiline git commits with clear titles and bodies. Use when the user asks to add and commit current work cleanly, especially in a dirty worktree.