一键导入
project-doc
Create and maintain Git-backed project and repository context documents through the daemon context API only.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create and maintain Git-backed project and repository context documents through the daemon context API only.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Load when reading or writing project notes, weekly/monthly summaries, or journal/agent.md. Owns GET/PATCH for context files except today.md and roadmap.md, which use their dedicated skills.
Load when the user wants an ongoing task on a fixed cadence (every morning, each Monday, hourly) to run autonomously as its own named recurring Agent. Creates it via POST /api/agents. Not for one-time reminders (use schedule) or app-data background fetches (use managed-tasks).
Load to manage the durable source library (user-sent PDFs/PPTX/docs) — list unfiled sources, file them as knowledge/sources/ cards, promote images, or send a stored source back. SKIP for delivering files you generated this turn (attach) or general vault edits (context).
Hand a long-running or open-ended task (deep research, multi-repo CI audit, monitor X over time, bulk compile) to /api/background-task. Compose a self-contained brief, set the notification policy, POST, ack, end the turn. Read GET /:id for follow-up detail.
Read-only Task Board — list everything in motion (recurring DMs, Agents, app-fetch, automation triggers, reminders, background/browser work) via GET /api/tasks, and preview a delete's blast radius via GET /api/tasks/impact. For writes use the `task` skill.
Hand open-ended browser requests (post a tweet, fill a contact form, check an order status, …) to /api/browser-task. Relay sub-agent clarifications, POST /clarify with the reply, /cancel on stop.
| name | project-doc |
| description | Create and maintain Git-backed project and repository context documents through the daemon context API only. |
| allowed-tools | ["Bash(curl *)","Bash(git -C *)"] |
Output language: project docs are Policy B — see <output_language_policy>. Template H2/H3 headers stay English skeleton; body prose, bullets, and summaries are in <settings primary_language>. Preserve user-customized headers verbatim.
Use this skill for Git-backed context documents under the unified
repositories layout (see
docs/design/appendices/unified-repositories.md §4.5):
knowledge/repos/<slug>/overview.md plus per-day
journal/repos/<slug>/<YYYY-MM-DD>.md.plans/projects/<slug>.md per the original layout.The pre-cutover paths projects/<slug>.md (for git-backed projects)
and git-repos/<slug>.md are retired; the git/<slug>/ spelling is
a deprecated alias the daemon still normalizes for one release. Every
git-managed repo now lives under knowledge/repos/<slug>/ (overview)
plus journal/repos/<slug>/ (daily journal). Classification (project vs repo-only)
no longer changes the path; it controls which sections the overview
carries (project keeps ## Lifecycle Phases, repo-only stays light).
/api/context/*. Never edit files directly on disk.state/today.md, plans/roadmap.md, user/*, rules/*, or
unrelated context files.type: git-project,
the journal file uses type: git-journal. Both carry an ISO updated
date.GET /api/context/<path> before updating an existing overview.
Use PUT /api/context/<path> for initialization or full-document
updates. Use PATCH only when appending to a section without touching
frontmatter.knowledge/repos/<slug>/overview.md)type: git-project, repository_id, slug,
github_repo (or null), local_path, classification, category,
created, updated.# <display name>## Summary## Architecture## Notable Changes## Lifecycle Phases (project classification only)## Open Threads (manual prose; preserved verbatim)## Daily Activity Log (rolling 30-day window)journal/repos/<slug>/<YYYY-MM-DD>.md)type: git-journal, repository_id, date,
commit_count, pr_events, workflow_events.# <date> — <slug>## Commits## PR / Workflow Events## Files ChangedWhen the template carries placeholders, replace every one before writing:
{updated} / {created}: current ISO date, YYYY-MM-DD.{slug}: task_context.slug (deterministic, sanitized).{repository_id}: task_context.repositoryId.{local_path}: task_context.localPath.{github_repo}: task_context.githubRepo or null.{classification}, {category}: values from task_context.{display_name}: pretty-printed slug or task_context.displayName if
the row has one.{date}, {commit_count}, {pr_events}, {workflow_events},
{commits_list}, {pr_workflow_summary}, {files_summary}: derived
from Git evidence collected for the journal day.