Skip to content
Agent Orchestration
Skill

/perf-review

Performance impact assessment for items with the needs-perf-review trait. Evaluates hot paths, query patterns, and measurement plans. Invoked via skillPointer when filling performance-baseline notes.

From plugin
task-orchestrator
21543 skills5 agents2 commands

Claude Code

$ npx -y skills add jpicklyk/task-orchestrator --skill perf-review --agent claude-code

SKILL.md

perf-review.SKILL.md
name: perf-review
description: Performance impact assessment for items with the needs-perf-review trait. Evaluates hot paths, query patterns, and measurement plans. Invoked via skillPointer when filling performance-baseline notes.
user-invocable: false

Performance Review Framework

Evaluate performance impact of changes. This project is a Kotlin MCP server with SQLite via Exposed ORM, handling tool calls synchronously per request.

Step 1: Hot Path Analysis

Identify which hot paths the change touches:

  • [ ] **Per-request paths** — MCP tool execution (every tool call hits this). New work here adds latency to every request.
  • [ ] **Per-item loops** — operations that iterate over items (search, overview, stalled-item detection). N+1 patterns here scale poorly.
  • [ ] **Startup path** — server initialization, Flyway migrate, data steps, the FTS integrity check, server-config import. Affects container startup time.
  • [ ] **Background operations** — cascade detection, dependency resolution. Runs inline, not async.

Step 2: Database Query Patterns

  • [ ] **N+1 queries** — does the change add a query inside a loop? (e.g., `countChildrenByRole` per child in overview). Count total queries for a typical operation.
  • [ ] **Full table scans** — any `selectAll()` without filters on large tables?
  • [ ] **Missing indexes** — new filter conditions that would benefit from an index?
  • [ ] **Transaction scope** — are transactions held open longer than necessary?
  • [ ] **Aggregate vs fetch-all** — using `SELECT COUNT(*)` with `GROUP BY` vs fetching all rows and counting in memory?

Step 3: JSON/Serialization Cost

  • [ ] **Large response payloads** — does the change add fields that significantly increase response size? (e.g., adding `childCounts` to every child in overview)
  • [ ] **Repeated serialization** — same object serialized multiple times in one request?
  • [ ] **Trait hydration** — item traits are rows in `item_traits`, attached to items by one extra batched statement per read (`WorkItemRows.withTraits`). Flag a read path that loads items per row instead, or one that skips hydration.

Step 4: Complexity Analysis

  • [ ] **What is N?** — identify the scaling variable (number of items, children, notes, dependencies)
  • [ ] **Current complexity** — O(1), O(N), O(N*M)? Where does the change sit?
  • [ ] **Realistic scale** — what's the expected N in practice? (Most projects: <100 items, <30 children per root)
  • [ ] **Worst case** — what happens at 1000+ items? Does it degrade gracefully or hit a wall?

Step 5: Measurement Plan

  • [ ] **How to verify** — what should be measured before/after? (query count, response time, payload size)
  • [ ] **Baseline** — document current performance for the affected operation
  • [ ] **Acceptance threshold** — what's the maximum acceptable degradation?

Output

Compose the `performance-baseline` note with findings from each step. This note is optional (`required: false`) — use it when the change touches known hot paths or adds significant new work.

Read more
@jpicklyk
Ships withtask-orchestrator

Server-enforced workflow discipline for AI agents. Prompt-based frameworks hope the LLM follows instructions. This one blocks the call if it doesn't.

21543 skills5 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
215
Star history of jpicklyk/task-orchestrator on GitHub, a chart by star-history.com

Other skills on task-orchestrator.

implement

implement

End-to-end workflow for taking MCP work items from backlog to merged PR. Handles git branching, schema-driven planning,…

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw9d395k
@steipete@steipeteInstall Skill
jira-tickets

jira-tickets

Read and update Jira tickets through Orca's saved Jira connections. Use when a task comes from Jira or the user asks for Jira…

orca7d128k
@stablyai@stablyaiInstall Skill
agentmail

agentmail

Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…

paperclip8d114k
@paperclipai@paperclipaiInstall Skill
adr-create

adr-create

Create a new Architecture Decision Record with sequential numbering and AgentDB registration

@ruvnet@ruvnetInstall Skill

Questions about perf-review.

Which coding agents can use perf-review?
perf-review installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.