/kivo-wise:roots-onboardingfrom kivo-wise
Provides a read-only architectural map of a Roots-stack WordPress project, including providers, blocks, post types, routes, Livewire components, and runner versions. Use when onboarding to a new project or before scoping a feature.
Ships in kivo-wise. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Builds a short, factual map of an unfamiliar project from the detector JSON and an app inventory, then proposes next steps. It changes nothing: no files, no branches, no commits.
references/discovery-procedures.md.node scripts/detect-roots-project.mjs from the kivo-wise plugin root (in a project copy of the skills, the hidden .kivo-wise/ folder beside the skill folders) (C1 contract: layout, apps[], active, runtime, flag, warnings). The session context already carries a compact form; run it again only when you need the full document.{{runner.wp}}, {{runner.acorn}}, {{runner.composer}}, {{runner.node}}, {{runner.test}}, {{runner.cache}}). Lando default: lando wp, lando wp acorn, lando composer; the exact tooling names come from the landofile.layout, the active app (apps[active]: kind, path, namespace, boot, providers.source, blocks, postTypes, versions), runtime.runner, and every entry of warnings. If flag is set, .roots-stack.json overrides detection; say so. If apps is empty, the project is plain WordPress: stop the Acorn steps and report that.node scripts/inventory-project.mjs --app <apps[active].path> (the script path is relative to the kivo-wise plugin root, two levels above this skill's folder, or the hidden .kivo-wise/ folder beside the skill folders in a project copy; the app path is relative to the project root, pass it absolute). When you cannot run scripts (read-only tools), say so, show both commands with resolved paths and the detected app path (never a theme path on radicle-app or acorn-mu-plugin), and build the same map by reading the files the inventory reads. It lists, without executing PHP: namespace, key packages, providers (and where they are registered), block mechanism, post-type mechanism, fields, options, components, composers, Livewire components, console commands, models, routes, views, migrations.AGENTS.md, .ai/, .claude/rules/, the README of the app, and .docs-brain.json if present (see docs-brain). These override every generic statement below.git branch --show-current), plans or specs where the project keeps them (commonly docs/plans/), open TODO files. A plan marked in-progress whose branch is already merged is stale: confirm with git branch --merged <default branch> before saying so.references/discovery-procedures.md (note template in references/output-contract.md) then the planning skill; bug -> roots-debugging; existing code to check -> roots-reviewing; unclear boot or provider placement -> acorn-stack.| Topic | sage-theme | acorn-mu-plugin | radicle-app |
|---|---|---|---|
| Boot | functions.php configures Acorn, base path inferred from the theme | A mu-plugin boots Acorn (often through a configurator class) on after_setup_theme; ACORN_BASEPATH may be set | The project root is the base path; a tracked mu-plugin boots it |
| Providers registered in | functions.php / config/app.php | the configurator, config/app.php, or composer.json extra.acorn.providers | composer.json extra.acorn.providers |
| Post types | Poet config or classes | classes, or Poet | roots/acorn-post-types (config/post-types.php) |
| Blocks | ACF Composer classes | ACF Composer classes | native block.json + Blade render, no ACF by default |
| Livewire | optional | often present (version 4) | absent by default |
| Where the app lives | the theme folder | the plugin folder | the project root |
| Tests | project-chosen | PHPUnit or Pest | Pest |
## Project map: <name>
- Profile: <kind> at <path> Namespace: <ns> Layout: <layout>
- Versions: WordPress <x>, Acorn <x>, PHP <x>, plus ACF Composer / Livewire / Poet when present
- Runner: <lando | ddev | none>; commands: wp=<..> acorn=<..> composer=<..> node=<..> test=<..> cache=<..>
- Boot: <file, hook, base-path source>
- Providers: <n> registered in <source>; <n> on disk not registered: <names>
- Blocks: <mechanism, count> Post types: <mechanism, names> Livewire: <n> Routes: web <n>, api <n>
- Rules found: <AGENTS.md, .ai/, rules> Docs corpus: <roots or none>
- Work in progress: <branch, plans>
- Warnings: <detector warnings and inventory notes>
- Next steps: <2-4 concrete suggestions>
unregisteredOnDisk and the detector warnings are reported, not silently dropped.git status is unchanged).| Symptom | Cause | Fix |
|---|---|---|
Detector returns apps: [] | Plain WordPress, or Acorn not in composer.json | Report it; do not invent a profile; ask for the app path and offer a .roots-stack.json flag |
Inventory shows providers.source: none | Providers registered in a file the scan does not read | Search the boot file for withProviders; read composer.json extra.acorn |
| Inventory lists far fewer classes than expected | Wrong --app path (project root instead of the plugin or theme) | Re-run with apps[active].path |
truncated: true | More than 5,000 files in scope | Narrow --app, or inspect the folders by hand |
| Runner commands fail | Containers are down | Start them through the runner; report the exact error |
| Two apps detected | Theme and mu-plugin both boot Acorn | Name both, ask which is in scope, point at the detector warning |
What SKILL.md sets; muted values are Claude Code's defaults
25 skills in this plugin
/acf-nativeUse when building or reviewing ACF field behaviour or the post save flow - validate before publish, required/maxlength settings, hiding a field (conditional_logic), dynamic choices, running code after save - acf/validate_value, acf/load_field, acf/prepare_field, acf/save_post, acf.getField, wp_insert_post_data, save_post - including projects where ACF may not be installed (Radicle). Maps each need to the native mechanism verified in local source. For ACF Composer scaffolding use acorn-scaffolding; for escaping ACF output use wp-security-escaping./acorn-backgroundUse when work must run outside the request, on a schedule, or be logged in an Acorn project - WP-Cron vs Action Scheduler vs Laravel queues (make:job, ShouldQueue, queue:work, failed_jobs), console commands (make:command, wp acorn <command>), Schedule::command and schedule:run from system cron, Laravel Redis and Cache vs transients, logging channels (Log::, LOG_CHANNEL, stderr, storage/logs). For tables use acorn-data; for object cache tuning use wp-performance./acorn-dataUse when storing or querying data through Acorn's database layer - Eloquent models (app/Models, models over wp_posts, postmeta, users), custom tables, migrations (make:migration, migrate --force on deploy), seeders and factories, the DB facade, table prefix errors ("Table wp_wp_x doesn't exist"), and choosing post meta vs options vs a post type vs a custom table. For queues use acorn-background; for endpoints use acorn-routes-api; for post type registration use acorn-scaffolding.npx claudepluginhub hekivo/kivo-wise --plugin kivo-wiseOther plugins' skills for the same job