Skip to content

Make shared skill workflows agent-agnostic - #424

Open
ujjwalks wants to merge 2 commits into
addyosmani:mainfrom
ujjwalks:docs/agent-agnostic-skills
Open

ujjwalks wants to merge 2 commits into
addyosmani:mainfrom
ujjwalks:docs/agent-agnostic-skills

Conversation

@ujjwalks

@ujjwalks ujjwalks commented Jul 22, 2026 •

Copy link
Copy Markdown

Summary

Two shared skills currently instruct the agent in Claude Code's tool vocabulary, which reads as a hard requirement on harnesses that have the same capability under a different name.

  • idea-refine: replace AskUserQuestion and `Glob`/`Grep`/`Read` with the capability each one stands for — ask focused questions; discover, search, and read relevant files. Workflow and stopping conditions unchanged.
  • browser-testing-with-devtools: lead with the transport-neutral requirement (launch chrome-devtools-mcp as a local STDIO MCP server), then give the existing .mcp.json under a labeled Claude Code and compatible clients heading and add a Codex equivalent (codex mcp add plus project-scoped .codex/config.toml).

Scoped down from the original submission per review on #424:

No overlap with the #404 ecosystem-neutrality track (#419, #425): different axis, no shared files.

Verification

@addyosmani addyosmani left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The underlying goal here is right and it's one we're actively working. The browser-testing change in particular (harness-neutral MCP requirement up top, then labeled Claude Code and Codex config blocks) is exactly the shape we want. But two things stop me from merging this as it stands.

First, it overlaps an in-flight track. #404 is doing the same agent-agnostic pass surgically, skill by skill, human-curated: #419 already landed for TDD and #425 is Phase 2 in review right now. Two parallel efforts rewriting the same skills will collide. Before more skill edits go in here, this needs to be reconciled with that track rather than run alongside it.

Second, the packaging brings in things I don't think we want in the canonical tree. docs/superpowers/plans/ and docs/superpowers/specs/ are working docs written against an external framework, with lines like "REQUIRED SUB-SKILL: use superpowers:subagent-driven-development." This repo is deliberately vendor-neutral and doesn't carry third-party framework references, so those files don't belong here even as planning artifacts. And the new lint is a blocking CI rule that errors on AskUserQuestion / backticked Glob/Grep/Read anywhere outside a labeled platform heading. That's a real policy decision (we ship as a Claude Code plugin and reference those tools deliberately in places), and it's a big blast radius to fold into a contributor PR. A blocking, catalog-wide "no Claude tool names" gate is the kind of thing that needs to be decided on its own, not arrive as a side effect.

Net: the Codex/MCP-neutral examples are salvageable and good. If you drop the superpowers docs and the blocking lint, and rebase the skill edits onto the #404 track so they don't fight #419/#425, there's something mergeable here. As-is I can't take it.

@ujjwalks
ujjwalks force-pushed the docs/agent-agnostic-skills branch from b08f3ec to 2352c63 Compare July 30, 2026 14:30
@ujjwalks

Copy link
Copy Markdown
Author

Acting on all three. Force-pushed: this PR is now 25 lines across two files — idea-refine and browser-testing-with-devtools. Everything else is out.

superpowers docs — dropped. docs/ is flat here and those were working artifacts written against an external framework; they shouldn't have been in the diff.

The lint — dropped from this PR. You're right that a blocking, catalog-wide gate is policy, not a side effect of a docs change, and it's policy that currently cuts against docs/codex-setup.md, which explicitly accepts Claude Code-specific pieces with per-harness guidance in docs/. If you want it litigated on its own I'll open an issue proposing it as a warning first, with the offending term named in the message. Not opening one until you say it's worth the thread.

On the overlap — one correction for the record: #419/#425 and this PR don't share a file or a line. That track is ecosystem-neutrality (npm test → the repo's own commands); this is harness-neutrality (Claude tool names → capability language). #425 has also since merged, so the collision window is closed either way.

But I did find real in-flight overlap you didn't mention, and it's worse than the #404 one:

So: is harness-neutrality worth its own tracking issue, curated the way #404 is? Happy to write it up as a phased proposal rather than keep sending drive-by PRs at it. Or if the answer is "not a direction we're taking," say so and I'll stop at these two files.

Verification on the current head: validate-skills.js 24 skills 0 errors, validate-commands.js 8 commands 0 errors, run-evals.js 124 checks, rank-1 86%. Rebased onto main at 7829ffd (post-#425).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants