AgentSkillsCN

context-reload

重新加载项目上下文,检测当前活跃分支与迭代周期的匹配情况,推荐工作模式(思考/探索/提交),并生成一份简洁明了的上下文重载报告。

SKILL.md
--- frontmatter
name: context-reload
description: Reload project context, detect active branch/cycle alignment, propose work mode (THINKING/EXPLORING/COMMITTING), and generate a concise Context Reload Report.

Context Reload Skill

Goal

Reconstruct project state in <5 minutes of reading and propose a WORK MODE.

Steps

  1. Read:
  • docs/audit/snapshots/context-snapshot.md
  • docs/audit/baseline/current.md
  • docs/audit/cycles/*/status.md (active cycles only)
  • Current Git branch (if accessible)
  1. Produce a concise Context Reload Report:

CURRENT STATE

  • Baseline version
  • Active cycles + states
  • Current branch
  • Snapshot consistency

BRANCH ↔ CYCLE CHECK

  • Does current branch match exactly one active cycle?
  • If mismatch → flag issue and suggest:
    • create cycle
    • rename branch
    • update status.md branch_name

AUTO MODE DETECTION

Propose:

  • THINKING
  • EXPLORING
  • COMMITTING

Output:

  • Proposed mode
  • Confidence: low|medium|high
  • Top 2 reasons

Rules: Default: THINKING

Switch to EXPLORING if:

  • experimentation intent detected
  • hypothesis validation needed
  • code may be throwaway

Switch to COMMITTING if:

  • production intent detected
  • 2 files likely impacted

  • REQ creation/modification
  • DB/API/security/architecture touched

If structural/DB/security impact → force COMMITTING recommendation.

  1. Suggest 2–4 NEXT BEST ACTIONS.

Keep report concise. Do not modify files in this skill.