Skip to content

2026 11 23 five skills

Kelly Ferrone edited this page Nov 23, 2026 · 1 revision

Five Skills Plan

History. Drafted 2026-11-23 for #195, on top of #198 (#196: selenium-flow serves its plugin through quick-mcp's mcp.add_plugin, so every skill in plugin/skills/ is served at skill://selenium-flow/<skill>/…). Dr K's week plan (cluster docs/superpowers/plans/2026-11-20-mcp-material-delivery.md, "Remaining work", row B1): parity is the bar, and the skill texts are this row's deliberate change. The baseline retrieval run (8 tasks, sonnet, today's skill) is in the PR description. Calls made here (the controller's):

  • guidance.pointer(page) keeps its signature: reference file names are unique across the five skills, so the page names its skill. A test holds the uniqueness.
  • The issue's new PLG-16 ("agents only when the skills they need are served") is not built here. quick-mcp serves every agent and resolves only the skills that are served (PLUG-33), and a behaviour quick-mcp owns is reported, not absorbed (#196's rule). Reported to the quick-mcp session.

For agentic workers: REQUIRED SUB-SKILL: Use skill://superpowers/subagent-driven-development/SKILL.md to implement this plan task by task. Steps use checkbox (- [ ]) syntax for tracking.

Goal: plugin/skills/ holds five skills: driving-a-browser (the entry point), building-flows, signing-in, using-the-admin-ui, deploying-the-server. Every address in the server, the prompts, the explorer and the docs names the skill that holds the page. Nothing else a client sees changes.

Architecture: issue #195 is the spec for the cut. Read it whole first: gh issue view 195 -R kubed-io/selenium-flow, and its review comment (linked from "What changes in code").

Tech Stack: Python 3.11+, kubed-mcp 0.1.1, pytest, ruff. Skills follow the Agent Skills spec and superpowers writing-skills (skill://superpowers/writing-skills/SKILL.md): read it before writing a description.

Environment:

  • Worktree: /projects/kubed-io/.worktrees/selenium-flow-195, branch feat/five-skills, off #198's head a6cb6ec. Absolute paths and git -C; never cd into the main checkout.
  • venv: /tmp/claude-1000/-projects-cluster/057d23b0-2a9a-4ac7-83f7-3dfb2cecb5dd/scratchpad/venv196 (kubed-mcp 0.1.1 from PyPI is fine now). pip install --no-deps -e <worktree> into it, then run $V/bin/python -m pytest from the worktree's root. Symlink the main checkout's ui/node_modules if test_js_behaviour needs it.
  • The spec (wiki, the docs/ submodule, branch feat/five-skills): docs/superpowers/specs/, mostly plugin.md; the admin facts are in admin-ui.md, auth-and-roles.md, live-view-and-control.md, secrets-and-scope.md, config.md.

Global Constraints

  • Move, don't rewrite. A section that moves keeps its words and its heading (hints name sections by slug: test_every_section_a_hint_names_is_a_heading_on_its_page). New text is only what the issue marks new, the short SKILL.mds, and the cross-links a move needs.
  • New text is true of this server: every claim in ADMIN_UI, ADMIN_SIGN_IN, WORKSPACE_CONFIG, LIVE_VIEW, AGENT_AS_ADMIN and the CONFIGURATION additions cites a spec row you read (keep a list for the report; no row ids in the skill text itself). Where the spec and the code disagree, the code wins and you report it.
  • Nothing duplicated: a fact lives in one reference; others link to it by exact URI.
  • No other behaviour changes. Tool schemas, results, resources other than skill://, prompts' arguments and the agents' names stay as they are. tests/golden/*.json change only in skill addresses.
  • A gap in quick-mcp is reported with its call site, never patched here.
  • Commits: signed, exact paths staged, never -a. The maintainer is "Dr K" in anything written.

Review Focus

  1. Every skill://selenium-flow/... address in kubed/, plugin/, the docs and the tests reads (a test resolves each against the served plugin), and none is the old selenium-flow/ skill.
  2. Each SKILL.md is within its budget (10 to 40 lines; the entry point about 60), its description says only when, and its table links exact URIs.
  3. The admin skill's rules (issue, "The rules the skill states") are all there and nothing it says is possible is impossible (SEC-16, UI-52, no admin on stdio).
  4. Hints and refusals name the skill that now holds their page, with the same section slugs.
  5. Moved sections are byte-identical apart from links.

Task 1: The five folders (content only)

Files: plugin/skills/<five>/SKILL.md and references/, per the issue's table; delete plugin/skills/selenium-flow/.

  • Step 1: git mv each reference to its new skill first (one commit's worth), so history follows the moves. Then split the sections the issue moves (TROUBLESHOOTING's "Signed in before, signed out now"; WORKSPACES' "When a person takes control" into CONTROL.md, "Managing a workspace" into the admin skill; SKILL.md's "Sub-sessions" into WORKSPACES; FLOWS' line about moving a flow to global).
  • Step 2: Write the new references (FILES, RESOURCES, CONTROL, ADMIN_UI, ADMIN_SIGN_IN, WORKSPACE_CONFIG, LIVE_VIEW, AGENT_AS_ADMIN, CONFIGURATION's three sections) from the spec.
  • Step 3: Write the five SKILL.mds. The entry point keeps the Rules, the tool table and the "Everything to read" pointer (now to RESOURCES.md).
  • Step 4: Commit: Skills: one skill becomes five, by reader and moment (#195).

Task 2: Every address names its skill

Files: core/guidance.py (PAGES becomes page → skill; ENTRY is driving-a-browser), flows/report.py, flows/api.py, core/session_caps.py, workspace/workspaces.py, mcp/instructions.py, mcp/mirror.py, mcp/show.py, mcp/skill.py (SKILL_NAME/skill_path give way to the skills folder), main.py's log, plugin/agents/explorer.md (skills:, body, the new "never open the admin UI" rule), plugin/commands/*.md, README, AGENTS, CONTRIBUTING, CHANGELOG.

  • Step 1: Failing tests:
    • the plugin serves exactly the five skills, each valid under Skill.from_directory;
    • the authoring checks in test_skill.py run over every skill (parametrized), with the budgets above;
    • every skill://selenium-flow/ address in kubed/, plugin/, README/AGENTS/CONTRIBUTING and the golden files reads through a Client;
    • no reference file name appears in two skills;
    • each hint names its skill (FLOWS → building-flows, TROUBLESHOOTING and WORKSPACES → driving-a-browser).
  • Step 2: Implement; regenerate the golden files and check their diff is addresses only.
  • Step 3: Full suite and ruff. Report any failure that is not the known flakes (test_auth ...[not-yet-valid], the 3.14 test_monitor timing).
  • Step 4: Commit: Addresses: every hint and pointer names the skill holding its page (#195).

Task 3: The living spec

  • plugin.md: the five skills, their readers, the folder rows; PLG-62's section now lives in using-the-admin-ui; PLG-16 unchanged (see History). Other spec files that quote a skill address.
  • Commit on the wiki branch feat/five-skills.

After the tasks (controller)

  • The retrieval run again, the same 8 tasks against the five skills; no task worse than baseline.
  • One reviewer subagent on the diff against the Review Focus; then the peer's review.
  • Ask Dr K before opening the PR (after #198 merges, one PR open at a time). Then the image, the newTag toggle in kubed-io/selenium, kubectl up, and in the pod: five skills listed, every hint address reads, a --plugin-dir install lists selenium-flow:<skill>.

Clone this wiki locally