Skip to content

feat(framework): move the page builder off the preset onto its skill (#207)#208

Merged
suleimansh merged 1 commit into
mainfrom
feat/page-builder-skill-seam
Jul 4, 2026
Merged

feat(framework): move the page builder off the preset onto its skill (#207)#208
suleimansh merged 1 commit into
mainfrom
feat/page-builder-skill-seam

Conversation

@suleimansh

Copy link
Copy Markdown
Member

Closes #207. Follow-up to #190.

A framework was represented twice: its page-builder persona rode the preset seam (framed as the run's base), while only its docs rode the skill seam. This finishes the "framework = skill, no adapter axis" design.

What changed

  • A Skill now carries curated framing personas alongside its llms.txt pointer, so a framework's whole knowledge is one unit.
  • vikeSkill carries vikePageBuilder; new nextSkill carries nextPageBuilder.
  • A preset is now a pure detector that points at its framework skill (vikePreset.skill = vikeSkill). Built-in presets no longer embed page-builder personas.
  • run.ts frames the page builder through the skill set, not preset.personas. The selected preset's skill is always framed, so an empty from-scratch project still gets the flagship (Vike) page builder as the fallback.
  • New exports: nextSkill, skillPersonas. presetPersonas and the framing narration are unchanged.

Checks

  • Repo typecheck (21) + both package builds green.
  • ai-autopilot 280/280, framework 67/67. New tests cover: a skill carrying personas, skillPersonas dedup, page-builder-via-skill framing, and the empty-project fallback.
  • framework --fake still narrates Detected Vike (confidence 2); framing with 3 persona(s), 1 skill(s).
  • Changeset added (minor, both packages).

A framework was represented twice: its page-builder persona rode the
preset seam while its docs rode the skill seam. This finishes the
framework=skill design: a Skill now carries its curated framing personas
alongside the doc pointer, so a framework's whole knowledge is one unit.
vikeSkill carries vikePageBuilder; new nextSkill carries nextPageBuilder.
A preset is now a pure detector pointing at its framework skill, and
run.ts frames the page builder through the skill set (the selected
preset's skill is always framed, so an empty from-scratch project still
gets the flagship page builder). New exports: nextSkill, skillPersonas.

Part of #190.
@suleimansh suleimansh added enhancement New feature or request priority: low Nice to have / latent labels Jul 4, 2026
@suleimansh suleimansh self-assigned this Jul 4, 2026
@suleimansh suleimansh merged commit d98d4ad into main Jul 4, 2026
2 checks passed
@suleimansh suleimansh deleted the feat/page-builder-skill-seam branch July 4, 2026 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request priority: low Nice to have / latent

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Framework page builder still rides the preset, not the skill

1 participant