mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-05-12 22:03:30 +08:00
- 新增项目级 .codex/skills/gframework-boot 启动 skill,统一读取 AGENTS.md、环境清单与 local-plan 恢复信息 - 补充任务复杂度分级与 subagent/model 选择规则,约束 boot 阶段的委派流程 - 更新 AGENTS.md 中的 boot 入口约定,明确 skill 与仓库规则的优先级关系
4.0 KiB
4.0 KiB
name, description
| name | description |
|---|---|
| gframework-boot | Repository-specific boot workflow for the GFramework repo. Use when Codex needs to start or resume work in this repository from short prompts such as "boot", "continue", "read AGENTS", or "start the next step"; when the user expects Codex to first read AGENTS.md, .ai/environment/tools.ai.yaml, and local-plan tracking files; or when Codex should assess task complexity, decide whether explorer or worker subagents are warranted, and then proceed under the repository's workflow rules. |
GFramework Boot
Overview
Use this skill to bootstrap work in the GFramework repository with minimal user prompting.
Treat AGENTS.md as the source of truth. Use this skill to enforce a startup sequence, not to replace repository rules.
Startup Workflow
- Read
AGENTS.mdbefore choosing tools, planning edits, or delegating work. - Read
.ai/environment/tools.ai.yamlto confirm the preferred local toolchain. - Inspect
local-plan/todos/andlocal-plan/traces/before asking the user for missing context. - Classify the task state:
new: no matching recovery document exists, or the user is clearly starting fresh workresume: a matching todo or trace exists and the user is continuing that threadrecovery: prior work looks partial, interrupted, or ambiguous and the next safe recovery point must be reconstructed
- Choose the best matching
local-planartifacts:- Prefer path names or headings that match the user's task wording
- Break ties by most recently updated trace or todo
- If ambiguity would materially change implementation, summarize the candidates and ask one concise question
- Classify the task complexity before deciding on subagents:
simple: one concern, one file or module, no parallel discovery requiredmedium: a small number of modules, some read-only exploration helpful, critical path still easy to keep localcomplex: cross-module design, migration, large refactor, or work likely to exceed one context window
- Apply the delegation policy from
AGENTS.md:- Keep the critical path local
- Use
explorerwithgpt-5.1-codex-minifor narrow read-only questions, tracing, inventory, and comparisons - Use
workerwithgpt-5.4only for bounded implementation tasks with explicit ownership - Do not delegate purely for ceremony; delegate only when it materially shortens the task or controls context growth
- Before editing files, tell the user what you read, how you classified the task, whether subagents will be used, and the first implementation step.
- Proceed with execution, validation, and documentation updates required by
AGENTS.md.
Task Tracking
For multi-step, cross-module, or interruption-prone work, maintain the repository recovery artifacts instead of keeping state only in chat.
- Update the active document under
local-plan/todos/with completed work, validation results, risks, and the next recovery point. - Update the matching document under
local-plan/traces/with key decisions, delegated scope, and the immediate next step. - If the task is clearly complex and no recovery artifact exists yet, create one before substantive edits.
Recovery Heuristics
- If the user says
next step,continue,继续, or similar resume language, assume recovery mode and searchlocal-plan/first. - If the current branch and the newest recovery documents describe the same feature area, prefer resuming that thread.
- If the repository state suggests in-flight work but no recovery document matches, reconstruct the safest next step from code, tests, and Git state before asking the user for clarification.
Example Triggers
bootUse $gframework-boot and continue the current taskRead AGENTS and local-plan, then start the next step继续当前任务,先看 AGENTS.md 和 local-plan
References
Read references/startup-artifacts.md when you need a quick reminder of the repository entrypoints, task-state heuristics, or delegation defaults without re-reading the entire skill.