Skip to content
Back to skills

Technique Router

ASecurity

Classifies GitHub issues/PRs into PR-type categories and recommends autor techniques. Used by packages/core/src/decomposer.ts.

  • 6 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added November 26, 2026
code-qualitygobashdebugginggitapi

Works with

  • api

Security analysis

A100/100

Scanned November 26, 2026

npx -y skills add jleechanorg/jleechan-skills --skill technique-router --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Technique Router?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Technique Router
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jleechanorg-technique-router/badge)](https://www.skillsdirectory.com/skills/jleechanorg-technique-router)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: technique-router
description: Classifies GitHub issues/PRs into PR-type categories and recommends autor techniques. Used by packages/core/src/decomposer.ts.
---

# technique-router — ZFC-Compliant PR Type Classification Skill

## Purpose

Classifies a GitHub issue/PR description into a PR-type category, then recommends the appropriate autor technique. This is **classification-only until routing is wired**: `classifyPrType()` returns PR-type metadata, but technique resolution still happens separately through prompt/config defaults. All classification is delegated to the model API — no heuristic scoring, keyword matching, or hardcoded routing tables.

## PR Types

| Type | Description |
|------|-------------|
| `state-bool` | Widening boolean semantics (int 1/0, string '1'/'0' as valid True/False) |
| `data-norm` | Normalizing key names and numeric formats (xp→xp_gained, NaN handling) |
| `ci-workflow` | GitHub Actions workflow changes (YAML scripting, gate logic) |
| `typeddict-schema` | TypedDict + validation for previously untyped data structures |
| `large-arch-refactor` | Module extraction, moving functions between files |
| `unknown` | Cannot determine from the description |

## Technique Selection (Autor Research — Phase 10)

All 9 autor techniques converge within rubric noise (~80-85 confidence-interval overlap). **SR-prtype is the safe default** for all PR types. No per-type routing is statistically justified.

| Technique | Description | When to use |
|-----------|-------------|-------------|
| `SR-prtype` | Self-Refine with PR-type classification | **Safe default for all types** |
| `SR-fewshot` | Self-Refine with single prior PR exemplar | When a highly similar prior PR exists |
| `SR` | Basic 3-round self-refine | Fallback |
| `ET` | Extended chain-of-thought reasoning | Complex architectural decisions |
| `PRM` | Process Reward Model (score each step) | Debugging, multi-step reasoning |

## Usage

```bash
/technique-router <issue-title> <issue-body-or-url>
```

## ZFC Compliance

This skill does NOT:
- Match keywords like "fix", "bug", "refactor" to determine type
- Use regex or substring checks for intent detection
- Apply hardcoded scoring weights
- Use if/else chains that guess intent from text

This skill DOES:
- Pass the issue text to the model with a clear classification prompt
- Return the model's classification as the decision
- Let the caller decide what to do based on the classification

## Integration

Used by `packages/core/src/decomposer.ts`'s `classifyPrType()` function in the AO core library. That function classifies PR type only; it does not yet select or apply a technique directly.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in code-quality →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.