AgentSkillsCN

multiagent_session

全面指南:在Python中使用pytest编写高效的单元测试。适用场景如下:(1) 编写新的测试文件或测试函数;(2) 在项目中配置pytest;(3) 测试会抛出错误或异常的函数;(4) 决定测试哪些内容、如何测试;(5) 通过fixture与参数化复用测试代码;(6) 测试数据处理函数(尤其是pandas/numpy);(7) 调试失败的测试。本技能强调纯函数、清晰的测试组织,以及可测试代码与良好代码设计之间的紧密联系。

SKILL.md
--- frontmatter
name: multiagent_session
description: Instructions for creating git worktrees with safety checks
disable-model-invocation: true

Create git worktrees for a multiagent coding session.

Arguments: /multiagent_session [number] [terminal]

  • number: Number of worktrees (default: 5)
  • terminal: Terminal to use - Ghostty, Warp, Alacritty, or kitty (default: Ghostty)

Examples:

  • /multiagent_session 3 - Creates 3 worktrees in Ghostty
  • /multiagent_session 5 Warp - Creates 5 worktrees in Warp

Steps

  1. Create worktrees from current state (replace $N with the number argument):
bash
~/.claude/skills/multiagent_session/create.sh $N
  1. Open worktrees in specified terminal (replace $N and $TERMINAL with arguments):
bash
~/.claude/skills/multiagent_session/open.sh $N $TERMINAL

Variables:

  • $N: Number of worktrees (from user argument, default 5)
  • $TERMINAL: Terminal name (from user argument, default "Ghostty")