AgentSkillsCN

using-agentops

Meta 技能,用于阐释 AgentOps 工作流。在会话开始时自动注入,涵盖 RPI 工作流、知识飞轮以及技能目录。

SKILL.md
--- frontmatter
name: using-agentops
description: 'Meta skill explaining the AgentOps workflow. Auto-injected on session start. Covers RPI workflow, Knowledge Flywheel, and skill catalog.'

AgentOps Workflow

You have access to the AgentOps skill set for structured development workflows.

The RPI Workflow

code
Research → Plan → Implement → Validate
    ↑                            │
    └──── Knowledge Flywheel ────┘

Research Phase

bash
/research <topic>      # Deep codebase exploration
/knowledge <query>     # Query existing knowledge

Output: .agents/research/<topic>.md

Plan Phase

bash
/pre-mortem <spec>     # Simulate failures before implementing
/plan <goal>           # Decompose into trackable issues

Output: Beads issues with dependencies

Implement Phase

bash
/implement <issue>     # Single issue execution
/crank <epic>          # Autonomous single-agent execution
/farm [--agents N]     # Parallel multi-agent execution

Output: Code changes, tests, documentation

Validate Phase

bash
/vibe [target]         # Code validation (security, quality, architecture)
/post-mortem           # Extract learnings after completion
/retro                 # Quick retrospective

Output: .agents/learnings/, .agents/patterns/

Phase-to-Skill Mapping

PhasePrimary SkillSupporting Skills
Research/research/knowledge, /inject
Plan/plan/pre-mortem
Implement/implement/crank (single-agent), /farm (multi-agent)
Validate/vibe/retro, /post-mortem

Available Skills

SkillPurpose
/researchDeep codebase exploration
/pre-mortemFailure simulation before implementing
/planEpic decomposition into issues
/implementExecute single issue
/crankAutonomous single-agent execution
/farmParallel multi-agent execution (Agent Farm)
/vibeCode validation
/retroExtract learnings
/post-mortemFull validation + knowledge extraction
/beadsIssue tracking operations
/bug-huntRoot cause analysis
/knowledgeQuery knowledge artifacts
/complexityCode complexity analysis
/docDocumentation generation

Knowledge Flywheel

Every /post-mortem feeds back to /research:

  1. Learnings extracted → .agents/learnings/
  2. Patterns discovered → .agents/patterns/
  3. Research enriched → Future sessions benefit

Natural Language Triggers

Skills auto-trigger from conversation:

Say ThisRuns
"I need to understand how auth works"/research
"Check my code for issues"/vibe
"What could go wrong with this?"/pre-mortem
"Let's execute this epic"/crank
"Spawn agents to work in parallel"/farm

Issue Tracking

AgentOps uses beads for git-native issue tracking:

bash
bd ready              # Unblocked issues
bd show <id>          # Issue details
bd close <id>         # Close issue
bd sync               # Sync with git