Commit Graph
5 Commits
Author SHA1 Message Date
Wayner Barrios 7ccfa329af Separate frontend planning scopes 2026-07-28 14:09:20 -04:00
Wayner Barrios 559c97219d Add immutable skill provenance 2026-07-27 13:25:30 -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 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