This commit is contained in:
Your Name
2026-04-30 21:43:20 +08:00
3 changed files with 25 additions and 13 deletions
+1
View File
@@ -25,3 +25,4 @@ bin-release/
/.shared
/.cursor
/.codex
/.agents
+19 -12
View File
@@ -3,20 +3,27 @@
These instructions are for AI assistants working in this project.
Use the `/trellis:start` command when starting a new session to:
- Initialize your developer identity
- Understand current project context
- Read relevant guidelines
This project is managed by Trellis. The working knowledge you need lives under `.trellis/`:
Use `@/.trellis/` to learn:
- Development workflow (`workflow.md`)
- Project structure guidelines (`spec/`)
- Developer workspace (`workspace/`)
- `.trellis/workflow.md` — development phases, when to create tasks, skill routing
- `.trellis/spec/` — package- and layer-scoped coding guidelines (read before writing code in a given layer)
- `.trellis/workspace/` — per-developer journals and session traces
- `.trellis/tasks/` — active and archived tasks (PRDs, research, jsonl context)
If you're using Codex, project-scoped helpers may also live in:
- `.agents/skills/` for reusable Trellis skills
- `.codex/agents/` for optional custom subagents
If a Trellis command is available on your platform (e.g. `/trellis:finish-work`, `/trellis:continue`), prefer it over manual steps. Not every platform exposes every command.
Keep this managed block so 'trellis update' can refresh the instructions.
If you're using Codex or another agent-capable tool, additional project-scoped helpers may live in:
- `.agents/skills/` — reusable Trellis skills
- `.codex/agents/` — optional custom subagents
## Subagents
- ALWAYS wait for all subagents to complete before yielding.
- Spawn subagents automatically when:
- Parallelizable work (e.g., install + verify, npm test + typecheck, multiple tasks from plan)
- Long-running or blocking tasks where a worker can run independently.
- Isolation for risky changes or checks
Managed by Trellis. Edits outside this block are preserved; edits inside may be overwritten by a future `trellis update`.
<!-- TRELLIS:END -->
+5 -1
View File
@@ -317,7 +317,11 @@
>
备注
</el-button>
<el-button class="float-action edit" size="large" @click="handleEditDiagnosis">
<el-button
v-perms="['tcm.diagnosis/edit']"
class="float-action edit"
size="large"
@click="handleEditDiagnosis">
编辑病历
</el-button>
<el-button