Skip to content
This repository was archived by the owner on Apr 11, 2026. It is now read-only.

feat: plugin modernization — adopt best patterns from ecosystem#16

Closed
z23cc wants to merge 3 commits intomainfrom
fn-92-plugin-modernization-adopt-best
Closed

feat: plugin modernization — adopt best patterns from ecosystem#16
z23cc wants to merge 3 commits intomainfrom
fn-92-plugin-modernization-adopt-best

Conversation

@z23cc
Copy link
Copy Markdown
Owner

@z23cc z23cc commented Apr 7, 2026

Summary

Modernizes the flow-code plugin by adopting proven patterns from 9 reference plugins (superpowers, gstack, compound-engineering, claude-code-plugins-plus-skills, hermes-agent, etc.):

  • Enhanced skill frontmatter schema: 13 optional fields (allowed-tools, preamble-tier, version, model, voice-triggers, etc.) added to docs/skill-anatomy.md. 3 core skills updated as reference implementations. Fully backward compatible.
  • Skill validation script: scripts/validate-skills.sh — pure bash, validates frontmatter + structure. 25/25 skills pass. Exit 0/1 for CI integration.
  • Cross-platform adapters: scripts/gen-platform.sh — generates Codex (.codex/AGENTS.md) and Cursor (.cursor/rules/*.mdc) adapter files from plugin metadata. Pure bash+jq.
  • CI hardening: 3 new CI jobs (smoke-test, security-audit, markdown-lint). .markdownlint.json, .editorconfig, scripts/setup-hooks.sh for pre-commit auto-install.
  • README & docs overhaul: Complete README rewrite with skill inventory table (24 skills), mermaid architecture diagram, quick-start guide. CHANGELOG.md in Keep a Changelog format.

Test plan

  • bash scripts/validate-skills.sh passes (25/25 skills, exit 0)
  • bash scripts/gen-platform.sh codex generates valid .codex/AGENTS.md
  • bash scripts/gen-platform.sh cursor generates valid .cursor/rules/*.mdc
  • bash scripts/setup-hooks.sh installs pre-commit hook
  • CI workflow runs all new jobs (smoke-test, security-audit, markdown-lint)
  • Existing skills load without modification (backward compat)

🤖 Generated with Claude Code

z23cc and others added 3 commits April 7, 2026 08:53
Define new optional frontmatter fields (allowed-tools, preamble-tier,
version, model, voice-triggers, and 8 more) in docs/skill-anatomy.md
with full field reference table. Update 3 core skills (plan, work,
brainstorm) as examples. All new fields are optional for backward
compatibility.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…ling

- Add smoke-test CI job (runs scripts/smoke_test.sh after cargo tests)
- Add security-audit CI job (cargo-audit for dependency vulnerabilities)
- Add markdown-lint CI job (markdownlint-cli2 for skills/**/*.md and agents/**/*.md)
- Add .markdownlint.json tuned for skill files (long lines, inline HTML allowed)
- Add .editorconfig for consistent formatting across Rust, Markdown, Bash, JSON
- Add scripts/setup-hooks.sh for auto-installing pre-commit hook

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- scripts/validate-skills.sh: validates all skills against frontmatter schema
  (25/25 pass, 130 warnings for optional sections)
- scripts/gen-platform.sh: generates Codex (.codex/AGENTS.md) and Cursor
  (.cursor/rules/*.mdc) adapter files from plugin metadata
- README.md: complete overhaul with skill inventory table, architecture diagram,
  quick start guide, commands reference
- CHANGELOG.md: initial Keep a Changelog format entry

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@z23cc z23cc closed this Apr 7, 2026
@z23cc z23cc deleted the fn-92-plugin-modernization-adopt-best branch April 7, 2026 01:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant