attributes-route
БесплатноБез исполняемых скриптовНе проверенRoute to specialized agents (security, test, refactor, docs) based on codebase health attributes by severity. Use when the user has attribute data and wants…
от laurigates★ 61 звезда на GitHubОб этом скилле
/attributes:route
Route to specialized agents based on codebase health attributes.
When to Use This Skill
| Use this skill when... | Use another approach when... |
|---|---|
| Have attribute data and want automated remediation | Need to collect attributes first (use /attributes:collect) |
| Want severity-based agent prioritization | Know exactly which agent to use |
| Batch-fixing multiple health findings | Fixing a single specific issue |
Parameters
| Parameter | Description |
|---|---|
--dry-run |
Show routing plan without spawning agents |
--focus <category> |
Only route for: docs, tests, security, quality, ci |
--min-severity <level> |
Minimum severity: critical, high, medium (default), low |
Execution
Step 1: Load Attributes
Read attribute data from one of:
.claude/attributes.json(if exists)- Run
/attributes:collectto generate fresh data
Step 2: Filter and Prioritize
- Filter attributes by
--focuscategory if specified - Filter by
--min-severitythreshold - Group by target agent from the
actionsarray - Calculate priority per agent using weights: critical=4, high=3, medium=2, low=1
- Sort agents by descending priority
Step 3: Display Routing Plan
Show the routing plan:
Attribute-Based Routing
Based on attribute analysis, prioritize these agents in order:
1. security (priority 7): .env file committed; No security scanning in CI
2. test_runner (priority 3): No test directory or test files found
3. docs (priority 2): Missing CLAUDE.md
If --dry-run, stop here.
Step 4: Execute Routing
For each agent in priority order, spawn the agent with its findings as context:
| Attribute Category | Agent | Condition |
|---|---|---|
| security (critical/high) | security-audit | Always route first |
| tests | test | When test gaps found |
| quality (high+) | refactor | Anti-patterns exceed threshold |
| quality (medium) | review | Code review suggestions |
| docs | docs | Documentation gaps |
| ci | configure | CI configuration gaps |
When spawning each agent, include:
- The specific findings for that agent
- Whether each finding is auto-fixable
- The severity level
Step 5: Report
After all agents complete, summarize:
- Which agents were invoked
- Which findings were addressed
- Remaining findings that need manual attention
Agentic Optimizations
| Context | Command |
|---|---|
| Preview routing | /attributes:route --dry-run |
| Security only | /attributes:route --focus security |
| Critical only | /attributes:route --min-severity critical |
| Full remediation | /attributes:route |
Установить attributes-route в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadGlobGrepAgentTodoWriteFAQ
Что делает скилл attributes-route?
Route to specialized agents (security, test, refactor, docs) based on codebase health attributes by severity. Use when the user has attribute data and wants automated remediation.
Как установить скилл attributes-route?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл attributes-route запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic