跳到正文
cccskills
免费在 GitHub 公开

context-tracking

Real-time work context tracking for session continuity. Maintains task/step state across sessions, tracks progress, manages logs, integrates with phase enforcement.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(5)

  • SKILL.md4.0 KB
  • references/context-schema.md7.5 KB
  • references/session-management.md13.2 KB
  • references/step-templates.md12.1 KB
  • SKILL.extended.md17.2 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Context Tracking

Applies: every session, whenever work starts, a step/task changes, phase changes, or a conversation ends. Maintain .aid/context.json.

Core Rule

  1. READ context before starting work
  2. UPDATE on every significant change
  3. SYNC with phase state (.aid/state.json)
  4. INTEGRATE with feedback (/aid end)
  5. SAVE at conversation end

Update Triggers

MomentAction
Session startRead context
New taskUpdate current_task, reset current_step and progress
New stepUpdate current_step, add session note
Step completeMove step to steps_completed, update current_step
Task completeClear current_task, prompt feedback
Phase changeSync with state.json
End conversationFinal save with timestamp

Context Structure

{
  "$schema": "aid-context-v1",
  "version": "1.0",
  "last_updated": "ISO-8601",
  "current_task": {
    "key": "TASK-ID",
    "title": "Task title",
    "description": "What needs to be done",
    "phase": 4,
    "phase_note": "Additional phase context"
  },
  "current_step": {
    "name": "Current step description",
    "progress": 0,
    "notes": "Step-specific notes"
  },
  "progress": {
    "steps_completed": ["Step 1", "Step 2"],
    "steps_pending": ["Step 3", "Step 4"]
  },
  "session_notes": [
    {
      "timestamp": "ISO-8601",
      "note": "What happened"
    }
  ],
  "blockers": [
    {
      "id": "BLOCKER-001",
      "description": "What's blocking",
      "severity": "high|medium|low",
      "resolution": "How to resolve"
    }
  ]
}

Field detail: references/context-schema.md.

Phase-Aware Context

PhaseTask TypesStep Templates
1 PRDRequirementsUser stories, acceptance
2 Tech SpecArchitectureDesign, API, security
3 Impl PlanPlanningTask breakdown
4 DevelopmentCodingTDD cycle, impl
5 QAQATesting, deploy

Standard Step Templates

More templates: references/step-templates.md.

Component Development (Phase 4)

  1. Load task context
  2. Read Tech Spec
  3. Write tests (TDD)
  4. Implement
  5. Run tests
  6. Self review
  7. Commit

Bug Fix (Phase 4)

  1. Load context
  2. Reproduce issue
  3. Write failing test
  4. Implement fix
  5. Verify
  6. Commit

Session Notes

Append to session_notes at these moments:

WhenNote Content
Session start"Session started - resuming [task title]"
Task started"Started task: [key] - [title]"
Task completed"Completed task: [key]"
Step completed"Completed step: [step name]"
Progress milestone"Progress: [description of milestone]"
Phase changed"Phase transition: [old] -> [new]"
Blocker added/resolved"Blocker [added/resolved]: [description]"

Blocker Management

Track blockers in the blockers array (fields: id, description, severity = high|medium|low, resolution; ids like BLOCKER-001). Remove a blocker from the array when resolved and add a session note documenting the resolution.

Error Handling

No context.json:

No .aid/context.json found
Creating context:
1. What feature?
2. What phase?
3. What task?

Stale context (>24h):

Context stale (36h old)
Last: PROJ-124 "AuthService" (60%)
Still accurate?
[1] Yes, continue
[2] No, completed offline
[3] Start fresh

Context-State mismatch:

Context: Phase 3
State: Phase 4
Syncing to Phase 4...

File Locations

.aid/
  state.json     # Phase state
  context.json   # Task/step context

~/.aid/
  feedback/pending/
  feedback/processed/

Session lifecycle detail: references/session-management.md.

Commands

CommandPurpose
/contextShow current
/context tasksTask progression
/context stepsCurrent steps
/context logSession log
/context updateManual update
/good-morningFull startup

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

AID Phase 4 - Development phase. Use for implementing features, TDD practices, code reviews, transitioning from planning to QA.

中文简介正在准备中。当前显示原文说明。

ilandahan/AID102026年9月23日 更新

AID Phase 0 - Research & discovery. Use for validating problem spaces, identifying stakeholders, defining success metrics, deciding whether to proceed.

中文简介正在准备中。当前显示原文说明。

ilandahan/AID102026年9月23日 更新

AID Phase 3 - Implementation Planning with consolidation-first approach. Resolves contradictions between PRD and Tech Spec, creates consolidated master document, then breaks down into actionable tasks and populates Jira. Includes sprint planning and risk assessment.

中文简介正在准备中。当前显示原文说明。

ilandahan/AID102026年9月23日 更新

aid-prd

免费

AID Phase 1 - PRD creation. Use for user stories, acceptance criteria, scoping features, transitioning from discovery to tech spec.

中文简介正在准备中。当前显示原文说明。

ilandahan/AID102026年9月23日 更新

AID Phase 5 - QA and Release. Use for validating implementations, acceptance tests, preparing releases, deployment, operational readiness.

中文简介正在准备中。当前显示原文说明。

ilandahan/AID102026年9月23日 更新

AID Phase 2 - Technical Specification. Use for system architecture, API contracts, data models, security architecture, transitioning from PRD to implementation.

中文简介正在准备中。当前显示原文说明。

ilandahan/AID102026年9月23日 更新

查看 ilandahan 的全部技能

报告此技能的问题