用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Abd0r/porcupineai --skill project-hygiene命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | project-hygiene |
| description | Create a durable, evidence-backed project workspace. |
| stack | meta |
Use this skill to give a substantial project one canonical home for its purpose, verified state, decisions, evidence, and next work. The canonical location is Project/<project-name>/ relative to the current repository or explicitly chosen workspace.
The goal is continuity, not paperwork. Keep documents short, factual, and current. Do not create empty ceremony files for a trivial task.
Do not use this for a one-file fix, a disposable experiment, or a task whose existing repository documentation is already the canonical project home.
Create this minimum structure:
Project/
└── <project-name>/
├── README.md
└── STATUS.md
Add these files only when their contents exist and will remain useful:
├── PLAN.md # Multi-step implementation or research plan.
├── TASKS.md # Small actionable checklist across sessions.
├── DECISIONS.md # Non-obvious choices, alternatives, and rationale.
├── EVIDENCE.md # Measurements, sources, experiments, and validation.
└── CHANGELOG.md # Meaningful project milestones, not every edit.
Use a lowercase, hyphenated directory name such as Project/sparse-attention/. Preserve the human-readable project title inside README.md.
read and grep to inspect existing README files, plans, experiment logs, task notes, and source entry points.Project/<project-name>/ unless the user explicitly selects another root.Completion criterion: the project has one unambiguous directory and no competing status document is introduced.
Create README.md with:
# <Project Title>
## Objective
One measurable purpose.
## Scope
- In scope:
- Out of scope:
## Current approach
The current technical or research direction.
## Success criteria
- Observable gate 1
- Observable gate 2
## Workspace map
- `path/`: why it matters
## Related material
- Links to repository paths, papers, issues, or external sources.
Create STATUS.md with:
# Status: <Project Title>
## State
`planning` | `active` | `blocked` | `paused` | `complete`
## Last verified
- Date or commit:
- What was executed or inspected:
- Result:
## Current position
A short factual snapshot. No aspirational claims.
## Blockers and risks
- Blocker or `None`.
## Next verified action
One concrete action, including the command, test, or artifact that will prove it.
Completion criterion: README.md explains why the project exists, and STATUS.md gives another session enough context to take the next action without guessing.
PLAN.md when the work has multiple dependent steps. Each step names its files, verification command, and completion gate.TASKS.md for small, movable tasks. Keep only current work there; completed tasks belong in CHANGELOG.md only if they changed a milestone.DECISIONS.md when a choice would otherwise be rediscovered. Record date, decision, alternatives, evidence, and consequence.EVIDENCE.md for measurements, reproducible experiment results, source citations, dataset provenance, or evaluation output. Separate observations from interpretations.CHANGELOG.md only for milestones such as a validated prototype, completed dataset version, accepted design, or released artifact.Completion criterion: every supporting document answers a real future question. Delete or avoid placeholder documents that do not.
After a meaningful project action:
STATUS.md with the actual result, blocker, and one next verified action.WORKFLOW.md when a procedure changes (a new flag, a different gate, a new recovery step) so the recorded workflow never silently diverges from reality.Do not put credentials, tokens, private session transcripts, speculative benchmark numbers, or copied tool output dumps in project documents.
Completion criterion: STATUS.md never claims a milestone without its evidence being available in the repository, test output, or EVIDENCE.md.
Project/ for every minor code edit.STATUS.md as a marketing update instead of a handoff record.Before finishing a project-hygiene pass, verify:
Project/<project-name>/README.md and STATUS.md exist.planning-and-task-breakdown for implementation plans with file-level verification.source-driven-development before documenting behavior that depends on existing code.test-loop when a project milestone requires a repeatable test or build gate.memory-hygiene for durable user preferences rather than project-progress notes.