AgentSkillsCN

sidstack-training-context

在开启新任务时,加载训练上下文。当您启动一项新任务、在特定模块中开展工作,或在重大变更前,可触发此步骤。使用 training_context_get,为当前情境加载相应的技能、规则与经验教训。

SKILL.md
--- frontmatter
name: sidstack-training-context
description: >
  Load training context when starting tasks. Trigger when: starting a new task,
  working in a specific module, or before significant changes. Use
  training_context_get to load skills, rules, and lessons for the context.

Training Context

When to Load Context

  • Starting a new task
  • Working in a module for first time
  • Before significant changes

Process

Get Training Context

code
training_context_get({
  projectPath: ".",
  moduleId: "module-name",
  role: "worker",
  taskType: "feature" | "bugfix" | "refactor"
})

Apply Returned Context

TypeHow to Apply
SkillsFollow procedures/checklists
Rules (must)Mandatory compliance
Rules (should)Recommended
LessonsAvoid known pitfalls

Example

code
# Starting work on auth module
training_context_get({
  projectPath: ".",
  moduleId: "auth",
  role: "worker",
  taskType: "feature"
})

# Returns:
# - Skills: secure-password-handling checklist
# - Rules: MUST use bcrypt, SHOULD add rate limiting
# - Lessons: Session tokens must rotate on privilege change