About pattern-router
pattern-router is a prompt-design skill that routes a brief to a segment type and pattern before prompt writing. It helps creative teams establish the opening job and hand off to a suitable downstream skill.
Key features
- 01Classifies six segment types
- 02Selects primary and optional support pattern
- 03Defines viewer question and opening mechanism
- 04Sets product reveal timing
- 05Routes work to downstream skills
Use cases
- 01Routing a hook, benefit, or CTA brief
- 02Choosing a pattern before drafting a prompt
- 03Making storyboard and video-request work more consistent
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ postplusai/ postplus-skills --skill pattern-routerAfter installing, type/pattern-routerin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
_postplus_shared/00-core/shared-runtime/scripts/download_videos_from_manifest_with_ytdlp.mjspostplus_workspace.mjs_postplus_shared/00-core/shared-runtime/scripts/lib/hosted_billing_summary.mjslocal_skill_cli.mjshosted_execution_protocol.mjspostplus_cli_config.mjsexecution_approval.mjscreative_format.mjspostplus_cloud_client.mjshosted_media_generation_bridge.mjsnetwork_runtime.mjsskill_runtime.mjspostplus_workspace_runtime.mjsreferences/skill-chain.mdpattern-families.mdscripts/route_pattern_job.mjsDetails
From the project READMEPattern Router
Follow shared public skill rules in:
postplus-sharedpublic skill rules
Use this skill at the start of prompt design.
This skill is for:
- choosing the right segment pattern before writing prompts
- mapping a brief into a concrete opening mechanism
- reducing prompt drift when reference quality is uneven or absent
- making later storyboard and video-request work more consistent
This skill is not for writing the final storyboard or provider request.
When the segment is hook, this skill should route the segment and opening job,
then hand off visual mechanism selection to visual-hook.
Core Rule
Do not begin from adjective stacks like "premium", "viral", or "cinematic".
Begin from:
- segment type
- viewer question
- opening mechanism
- product reveal timing
Default Workflow
1. Identify the segment type
Classify the request as one of:
hookbenefitctacreatorlifestyletestimonial
If the user gives a custom segment, map it to the nearest working type and state the mapping.
2. Pick the dominant pattern family
Read references/pattern-families.md.
Select one primary family, then optionally one support family.
Do not mix many families unless the timing clearly supports it.
3. Lock the routing summary before writing prompts
Print a short routing block first:
Segment type:
Primary pattern:
Support pattern:
Viewer question:
Opening mechanism:
Product reveal rule:
Need explicit hook mechanism:
Why this route fits:
This block is the handoff to visual-hook, reference-decode, or
video-request-architect.
4. Choose the next skill
- If the segment is
hookand the stop-scroll mechanism still needs to be chosen, hand off tovisual-hook - If references exist and need decoding, hand off to
reference-decode - If the target is a storyboard grid, beat sheet, or provider-ready request, hand off to
video-request-architect - If the target is a provider-ready request, hand off to
video-request-architect
Routing Rules
hook: optimize for stop-scroll and immediate legibilitybenefit: optimize for one visible proof mechanismcta: optimize for payoff plus next action, not a static end cardcreator: optimize for believable human delivery and social-native behaviorlifestyle: optimize for desirability first, explanation secondtestimonial: optimize for proof plus human specificity
For hook segments:
- this skill decides segment route and opening job
hook-designdecides the dominant hook mechanism and downstream handoff- do not let multiple downstream skills guess the hook mechanism independently
Failure Mode
Stop and say the routing is under-specified if the brief does not provide enough to answer at least:
- what segment is being made
- what question the viewer should ask
- whether the product can appear in the opening
- whether references exist
Ask this when the missing piece is the segment type:
- "Is this segment a hook, benefit, or CTA?"
Do not let later skills guess the structure from vague taste words alone.