Commit Graph
23 Commits
Author SHA1 Message Date
Wayner Barrios 8d4eacbba6 Harden security review contracts 2026-07-27 15:33:27 -04:00
Wayner Barrios ac297607ff Clarify code review recovery order 2026-07-27 15:27:14 -04:00
Wayner Barrios 8d80e72bde Harden code review orchestration 2026-07-27 15:21:30 -04:00
Wayner Barrios 5f6f2e2531 Preserve incomplete workflow coverage 2026-07-27 15:08:31 -04:00
Wayner Barrios a3714c09a5 Define feature workflow handoffs 2026-07-27 15:04:30 -04:00
Wayner Barrios 9b38cc8a33 Simplify modern OpenCode setup 2026-07-27 14:32:34 -04:00
Wayner Barrios c753cd35ad Adopt native skill discovery 2026-07-27 14:32:22 -04:00
Wayner Barrios 6e83761707 Register read-only workflow agents 2026-07-27 14:32:04 -04:00
Wayner Barrios ce12c2777c Align licensing documentation 2026-07-27 13:25:30 -04:00
Wayner Barrios 559c97219d Add immutable skill provenance 2026-07-27 13:25:30 -04:00
Wayner Barrios 97d96be037 Update version label in logo.svg to v0.2.0 2026-06-09 22:41:27 -04:00
Wayner Barrios 75351bb816 Prepare v0.2.0 release
Bumps package.json to 0.2.0 and updates the pinned-install examples in
README.md from #v0.1.0 to #v0.2.0. The historical "pre-v0.1.0 build" note
in Troubleshooting stays — it refers to an old cache state, not the
current version.
v0.2.0
2026-05-28 13:18:04 -04:00
Wayner Barrios 9a2301e3a3 Expand .gitignore with context-file patterns for other AI agents
Covers Cursor, Windsurf, GitHub Copilot, Codex, Gemini, Aider, and
Continue, plus CLAUDE.local.md and AGENTS.local.md, so contributors
using any of those tools don't accidentally commit their private
context.
2026-05-28 13:09:36 -04:00
Wayner Barrios 6570a6b3e4 Limit npm install footprint to skills, commands, plugin, and assets
Adds a "files" whitelist to package.json so installing via
`opencode-power-pack@git+https://...` only ships what the runtime needs.
Tests, internal docs/validation, and CI config stay tracked in git but
no longer travel with the install.
2026-05-28 13:09:36 -04:00
Wayner Barrios 318ca65626 Add working-discipline guidance to the code and authoring skills
feature-dev, code-architect, and mcp-builder gain a shared "Working
discipline" section (think before acting, simplicity first, surgical changes,
goal-driven). code-review and code-reviewer get a lighter touch — a "scope
creep" criterion added to their review checklists. security-review and
skill-creator already embody this discipline, so they are not modified, and
frontend-design is left alone because "simplicity first" would clash with the
skill's deliberate bold/maximalist direction.

The five command files are regenerated from their skills (in sync). A new
tests/working-discipline.test.mjs guards the additions so the rule cannot
silently regress.
2026-05-28 12:37:42 -04:00
Wayner Barrios a2b5459e35 Make agents-md-revise respect first-match-wins rules loading
The skill told the model to "edit whichever rules file the project already
uses." Under OpenCode's first-match-wins resolution, a CLAUDE.md co-located
with an AGENTS.md is never read, so learnings captured there would be silently
lost. The skill now describes first-match-wins and directs capture to
AGENTS.md when both exist (never the shadowed CLAUDE.md), reinforced in the
"where each addition belongs" step. A test guards it; command kept in sync.
2026-05-27 22:53:03 -04:00
Wayner Barrios e0d54b1bd9 Add validation screenshots from a real frontend-design run
Output of running the rewritten frontend-design skill in OpenCode on a NEBULA
sci-fi magazine brief: a dark editorial aesthetic with an acid-green accent, a
condensed display face (not Inter/Roboto), and three distinct pricing tiers.
Concrete evidence the skill produces distinctive, non-generic UI. Linked from
the PR's Validation section.
2026-05-27 15:53:52 -04:00
Wayner Barrios 3aa3153d53 Enforce variety across generations in frontend-design
The skill already warned against converging on common choices, but the new
font and layout lists risk becoming the next default the way Space Grotesk
did. This adds an explicit "vary across generations" rule — treat the lists
as seeds to rotate, deliberately diverge when a brief resembles a prior one,
and never ship two different products as the same template. A matching
self-critique check rejects output that reads as a default pattern or a
previous generation. A test guards the rule; the command is regenerated from
the skill.
2026-05-27 15:53:52 -04:00
Wayner Barrios 09dc86739a Add design specifics and a self-critique rubric to frontend-design
The skill was pure aesthetic prose with no self-review. This adds three
sections, reworded from cited sources and kept under 500 lines:

- Concrete anti-default moves: font-by-vibe picks, layout archetypes, type
  contrast, semantic CSS-variable tokens, one orchestrated page-load.
- An objective self-critique rubric the model runs before returning (WCAG 2.2
  AA contrast/semantics/alt/focus/reflow plus craft checks), framed honestly
  since models tend to over-praise their own output.
- An optional, cross-platform validation note (html-validate static; pa11y or
  axe for rendered DOM), including an opt-in vision-only Playwright screenshot
  loop that text-only models skip.

Adds tests/frontend-design.test.mjs to guard the additions. The command is
regenerated from the skill and stays in sync.
2026-05-27 15:53:52 -04:00
Wayner Barrios f9bdd3ff74 Remove duplicated HIGH-SIGNAL block in code-review, add a dup test
The "Critical: only HIGH-SIGNAL issues should be flagged" block appeared
twice, back to back, in code-review's SKILL.md and command. The second copy
was a strict subset of the first (it dropped the "Concrete edge cases"
bullet), so it was pure redundancy. The duplicate is removed; the complete
first copy stays.

The skill-lint suite gains a per-skill "no duplicated block" check (no
non-empty line >= 50 chars repeats within a SKILL.md or its command), which
catches this class of copy-paste error. SKILL.md and command stay in sync.
2026-05-26 23:35:53 -04:00
Wayner Barrios 2dc168655f Add skill/command lint and restore truncated command descriptions
A generation step had truncated nine command descriptions at ~200
characters, cutting them mid-sentence. Each commands/*.md description is
restored to match its SKILL.md source, so the slash-command menu shows the
full text and skill and command stay in sync.

Adds a zero-dependency node:test suite (tests/skill-lint.test.mjs) that
enforces the invariants going forward: directory name matches the
frontmatter name and slug regex, description length within 1..1024 and not
truncated, SKILL.md body under 500 lines, and each command inlines its
SKILL.md body, shares its description, and ends with $ARGUMENTS. A GitHub
Actions workflow runs the suite on every push and pull request.
2026-05-26 23:09:45 -04:00
Wayner Barrios 3baef62f99 Correct how agents-md-improver describes OpenCode's rules loading
The skill described OpenCode's rules loading as a priority order between
AGENTS.md and CLAUDE.md. The actual behavior is first-match-wins per
directory: when both files coexist in the same directory, OpenCode loads
only AGENTS.md and silently ignores the CLAUDE.md.

This corrects the behavior description, replaces the tip that suggested
keeping an orphaned CLAUDE.md, and adds the shadowed-CLAUDE.md case to the
list of issues to flag. The skill's own description is also rewritten to be
more precise and trigger-specific; in the command it was previously
truncated mid-sentence. SKILL.md and command stay in sync.
2026-05-26 20:58:40 -04:00
Wayner Barrios b98c1f54e2 Initial release v0.1.0
opencode-power-pack bundles eleven Claude Code skills as an OpenCode plugin
under one config line, with each skill also exposed as a slash command.

Skills (by category):

  Review
    code-review        multi-agent PR review with cross-check pass and
                       concrete reproduction scenarios
    security-review    OWASP-bucketed three-stage filtering with mandatory
                       PoC per finding

  Feature dev
    feature-dev        seven-phase guided workflow
    code-explorer      deep codebase analysis sub-task
    code-architect     decisive architecture blueprint sub-task
    code-reviewer      two-pass adversarial review sub-task

  Design
    frontend-design    distinctive, production-grade UI generation

  Authoring
    mcp-builder        build high-quality MCP servers (Python or TypeScript)
    skill-creator      author new SKILL.md files

  Project memory
    agents-md-improver audit and update AGENTS.md / CLAUDE.md
    agents-md-revise   capture session learnings into the rules file

Architecture:
  - .opencode/plugins/opencode-power-pack.js auto-registers skills/ via
    config.skills.paths.push() (live config singleton modification, pattern
    adapted from obra/superpowers).
  - skills/<name>/SKILL.md hold the workflows the model executes.
  - commands/<name>.md ship physical slash command files that inline the
    full SKILL.md content, so the model receives the actual workflow as
    its prompt rather than a meta-instruction. Symlinked into
    ~/.config/opencode/commands/ during install.

Almost all skill content is ported or translated from upstream Anthropic
projects (claude-code/plugins, skills, claude-code-security-review,
claude-plugins-official). The plugin loader pattern is adapted from
obra/superpowers. See README.md -> Acknowledgments for per-skill
attribution; each SKILL.md frontmatter also carries a license field
naming its specific upstream.
2026-04-26 21:16:17 -04:00