Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
speckit-companion-classify
speckit-companion-classify
monicahq/laravel-sabre
claude-code
spec-kit
complexity-estimation
workflow-routing
change-sizing
heuristics
skill-config

Classify the change size (small | normal | oversized) so the Companion workflow can right-size the pipeline

Install
php artisan boost:add-skill monicahq/laravel-sabre

Save this content to: .claude/skills/speckit-companion-classify/SKILL.md

# Classify Change Size

Emit a single complexity signal — `small`, `normal`, or `oversized` — that the Companion
workflow's routing step reads to right-size the pipeline. On the workflow path there is no
`complexityFastPath` on/off setting: the thresholds live here, in the workflow, not in a
VS Code toggle.

This is a **thin, read-only** step. It does not write `.spec-context.json` and does not create or
edit any spec files; it only reports a size.

## Heuristic (thresholds live here, not in a setting)

Estimate the scope of the change from `spec.md` (and `plan.md`/`tasks.md` if they already exist):

<!-- speckit-companion:part sizing -->
- **small** — the change plausibly touches **≤ 5 files** and decomposes into **≤ 10 tasks**.
- **oversized** — the change clearly exceeds the small bar by a wide margin (broad multi-subsystem
  work, many new files, or a long task list).
- **normal** — anything in between (the default).

The two constants (5 files / 10 tasks) are the same guardrail the old `complexityFastPath` used.
<!-- /speckit-companion:part sizing -->
When unsure, prefer `normal` — the routing step's safe default is the full pipeline, so an
ambiguous estimate never skips a phase.

## Output

Print exactly one line so the size is visible in the run log:

```text
[companion] size=<small|normal|oversized>
```

Expose the same value as structured output `size` (so a `switch` node can read
`steps.classify.output.size`). Routing contract:

<!-- speckit-companion:part routing -->
- `small` → the workflow folds toward implement (less ceremony).
- `oversized` → the workflow prints a visible warning and still runs the **full** pipeline — it
  never silently skips a phase.
- `normal` (and any unresolved value) → the full pipeline.
<!-- /speckit-companion:part routing -->

Classify Change Size

Emit a single complexity signal — small, normal, or oversized — that the Companion workflow's routing step reads to right-size the pipeline. On the workflow path there is no complexityFastPath on/off setting: the thresholds live here, in the workflow, not in a VS Code toggle.

This is a thin, read-only step. It does not write .spec-context.json and does not create or edit any spec files; it only reports a size.

Heuristic (thresholds live here, not in a setting)

Estimate the scope of the change from spec.md (and plan.md/tasks.md if they already exist):

  • small — the change plausibly touches ≤ 5 files and decomposes into ≤ 10 tasks.
  • oversized — the change clearly exceeds the small bar by a wide margin (broad multi-subsystem work, many new files, or a long task list).
  • normal — anything in between (the default).

The two constants (5 files / 10 tasks) are the same guardrail the old complexityFastPath used.

When unsure, prefer normal — the routing step's safe default is the full pipeline, so an ambiguous estimate never skips a phase.

Output

Print exactly one line so the size is visible in the run log:

[companion] size=<small|normal|oversized>

Expose the same value as structured output size (so a switch node can read steps.classify.output.size). Routing contract:

  • small → the workflow folds toward implement (less ceremony).
  • oversized → the workflow prints a visible warning and still runs the full pipeline — it never silently skips a phase.
  • normal (and any unresolved value) → the full pipeline.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib