AgentSkillsCN

root

通过 .codex 治理系统,统筹并指导 Hikaze-Model-Manager-2 Codex 项目的各项工作。当用户提出“根技能”需求,或希望基于根技能启动开发时,又或是被要求制定、运行 .codex 章程/工作流/指南/岗位职责,用 Markdown 检查清单管理各阶段任务,或将项目提示从导管中迁移至 .codex 时,均可使用此系统。

SKILL.md
--- frontmatter
name: root
description: Manage and guide Hikaze-Model-Manager-2 Codex project work via the .codex governance system. Use when the user says "root skill" or asks to start development based on the root skill, or when asked to set up or operate .codex constitution/workflows/guidelines/jobs, manage jobs/phases/tasks with Markdown checklists, or migrate project prompts from conductor/ into .codex/.

Root

Overview

Use this skill to govern Codex project work for Hikaze-Model-Manager-2 using the .codex directory structure, keeping immutable sources of truth stable while tracking jobs and design details.

Sources of truth and load order

  1. Read .codex/constitution/ for project principles, tech stack, and code standards.
  2. Read .codex/workflows/ for the static workflow framework.
  3. Read .codex/guidelines/ for implementation details and decisions.
  4. Read .codex/jobs/activated.md and the active job file to understand current work.

Hard rules

  • Do not edit .codex/constitution/ or .codex/workflows/ unless the user explicitly requests changes.
  • Propose suggestions for constitution/workflows only; do not modify without explicit user instruction.
  • Record new or changed design details in .codex/guidelines/ during design discussions.
  • Record designed but not implemented items in .codex/guidelines/not_implemented.md.
  • Keep all .codex content in Markdown.
  • When stating code or behavior facts, cite evidence (file path + line or command output); avoid assumptions.
  • Use a single file per job to carry phases and tasks.
  • The last task of every phase must be user manual verification.
  • Track branches as indented checklist items; complete same-indent branch items before returning to the parent flow.
  • Update .codex/jobs/activated.md whenever the active job changes.
  • If required .codex paths are missing, ask before creating them.

Job file format

Use jobs/<job>/<job>.md with Markdown checklists:

markdown
# Job: <job-name>

## Phase 1: <phase-name>
- [ ] Task: <task>
  - [ ] Branch: <subtask>
  - [ ] Branch: <subtask>
- [ ] Quality Gates
  - [ ] Build passes (if applicable)
  - [ ] Evidence recorded (file refs / command output)
  - [ ] Docs updated (if needed)
- [ ] User manual verification

## Phase 2: <phase-name>
- [ ] Task: <task>
- [ ] Quality Gates
  - [ ] Build passes (if applicable)
  - [ ] Evidence recorded (file refs / command output)
  - [ ] Docs updated (if needed)
- [ ] User manual verification

Workflow usage

  • Treat workflows as the static guidance framework that governs each job and phase.
  • Record workflow branches in the job file as indented checklists.
  • Return to the parent flow after all items at the branch indent are complete.

Sub-skills

Use specialized skills to reduce context and improve precision when scope is narrow:

  • hikaze-frontend: Vue/TypeScript/CSS UI work in web/model_manager_frontend or web/custom_node_frontend.
  • hikaze-backend: Python nodes and server work in nodes/ or backend/.
  • hikaze-api: API contracts, request/response changes, and frontend-backend integration.

Conductor migration (only if requested)

Migrate prompts from custom_nodes/Hikaze-Model-Manager-2/conductor/ to .codex/ only when the user asks:

  • conductor/product.md -> .codex/constitution/product.md
  • conductor/tech-stack.md -> .codex/constitution/tech-stack.md
  • conductor/code_styleguides/* -> .codex/constitution/code_styleguides/*
  • conductor/workflow.md -> .codex/workflows/default.md
  • conductor/product-guidelines.md -> .codex/guidelines/product-guidelines.md
  • conductor/archive/* -> .codex/jobs/archive/*
  • Do not migrate conductor/discrepancies/* unless the user explicitly requests it.

Language policy

Accept any input language. Choose output language by accuracy first, then token efficiency.