project-management
它能做什么
这项技能涵盖 Firstmate 如何在其注册表中添加、创建、移除和设置项目。适合管理多个项目、并希望每个项目都交给合适助手处理的人。
适用场景
- ✓当你想把一个已有项目添加到 Firstmate 的时候。
- ✓当你想在 Firstmate 中从零开始创建一个新项目时。
- ✓当你想把某个项目从 Firstmate 的列表中移除时。
技能链接
https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/project-management/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请把我的新客户网站项目添加到 Firstmate,并确认没有其他助手已经负责这个领域。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体在添加任何内容之前,会先检查路由表中该项目领域是否已有负责人。然后,它按照注册表格式登记项目,并把详细信息保存在适当的位置。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
project-management
Use this procedure before adding, creating, removing, or initializing a project.
Cloning or registering a project is add intake and uses the same trigger.
This skill is the single owner of Firstmate's project-management procedure.
It does not replace secondmate-provisioning, which owns project clones inside persistent secondmate homes.
Preconditions and registry
Projects live flat under projects/, and data/projects.md is the private fleet registry.
Use the registry format and parser contract owned by the header of bin/fm-project-mode.sh.
Keep each registry description useful for identifying the project, but keep delivery posture, captain-private state, and detailed project knowledge in their existing designated homes.
Do not turn the registry into project documentation.
Before adding, cloning, creating, or registering any project in the main home, inspect the authoritative data/secondmates.md routing table and judge every existing natural-language scope: against the proposed project or domain.
Apply AGENTS.md section 7's authoritative secondmate routing rules; if an existing scope owns that domain, route the new-project operation or work there instead of creating or registering a duplicate main-home clone.
Absence from the main data/projects.md registry is never evidence that no second mate owns the domain.
If the owning second mate cannot accept the route, report that concrete blocker or obtain an explicit captain redirection rather than silently duplicating the project in the main home.
Resolve the project name, destination, delivery posture, and autonomy posture before changing local or remote state. Keep a newly added clone and its registry entry consistent, and roll back only artifacts created by the incomplete operation when a later initialization step fails and that rollback is safe. Do not overwrite or repurpose an existing path.
Delivery posture
The registry records the project's standing delivery posture and optional ship-branch prefix, which are the captain's defaults rather than any task's answer.
AGENTS.md section 7 owns how each task's concrete mode, yolo, and branch prefix are resolved at intake and passed explicitly to the brief, the spawn, and any promotion.
Choose that posture when adding or creating the project:
no-mistakesruns the full validation pipeline before a PR.direct-PRpushes and opens a PR without the no-mistakes pipeline.local-onlyhas no required remote or PR and lands only through the approved local fast-forward path.no-mistakes-prod-onlyis a conditional policy rather than one flat mode: genuinely internal-only tooling, automation, contributor or operator process, and release or submission work shipsdirect-PR, while product-facing, mixed, and uncertain work shipsno-mistakes.
no-mistakes-prod-only is the default for a newly added or created remote-backed project when the captain specifies nothing, and a project with no remote defaults to local-only.
State that resolved default while confirming the source, local name, and posture instead of asking the captain to choose from scratch, and record a flat mode instead whenever they ask for one.
Existing registry entries keep the meaning they already have and are never migrated or reinterpreted, so a legacy entry with no bracket stays no-mistakes.
Registering a conditional policy is a one-time choice and never requires classifying any change; the per-task surface classification happens at each task's intake, and internal-only is never inferred from file location or project name.
The optional +yolo posture changes merge authority only and does not change the delivery mode.
Default it off for every project and every posture, and enable it only on the captain's explicit instruction.
AGENTS.md section 7 owns the merge-authority contract.
The optional forge= token records which forge the project's remote actually is; its values are forge=gerrit, forge=forgejo, and forge=external.
It is orthogonal to the mode and to +yolo, so it is never derived from either, and it is never inferred at use time from a remote name, host, port, or push target.
At add or create intake, run bin/fm-forge-detect.sh projects/<name> once the clone exists and propose its answer alongside the posture; the captain's confirmation is what binds it, and the registry token is the durable record of that confirmation.
Never register the binding from detection alone, and never re-
常见问题
如果已经有其他助手负责这个领域怎么办?
智能体会把工作转交给那个助手,而不会创建重复的项目。
注册项目会生成文档吗?
不会。注册表只保存简短的识别性描述。
克隆项目和添加项目是一回事吗?
是的。克隆或注册项目都遵循相同的录入步骤。
详情
作者的原始描述
Load before adding, creating, removing, or initializing a project. Cloning or registering a project is add intake and uses the same trigger.
repo: kunchenguid/firstmate
热度
- GitHub 星标
- 8.5k
- 排名
- #12440
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …