feat: add codegen-react and codegen-html embedded skills#19
Merged
initializ-mk merged 2 commits intomainfrom Mar 4, 2026
Merged
feat: add codegen-react and codegen-html embedded skills#19initializ-mk merged 2 commits intomainfrom
initializ-mk merged 2 commits intomainfrom
Conversation
Add two new code generation skills for frontend UI scaffolding: - codegen-react: Vite + React 19 with Tailwind CSS, 4 tools (scaffold, run, read, write). The run tool handles npm install and starts the dev server with browser auto-open. - codegen-html: Preact + HTM via CDN with Tailwind CSS, 3 tools (scaffold, read, write). Zero dependencies — just open index.html. Both skills include Forge dark theme defaults, path traversal prevention, and strong LLM guardrails to prevent common errors (rewriting main.jsx, using default exports, inventing index.css). Updates docs/skills.md with complete skill table and detailed sections for both new skills.
Code-review skills used 'dev' while codegen skills used 'developer'. Standardize all to 'developer' for consistent filtering.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
codegen_react_runtool handlesnpm installand starts the dev server with browser auto-open and actual port detection.index.htmlin a browser. Supports single-file and multi-file modes.devtodeveloperacross code-review and codegen skills for consistent filtering.docs/skills.mdwith complete built-in skills table (10 skills) and detailed sections for both new skills.Test plan
go test ./forge-skills/...— all pass (10 skills discovered, display names, bins/env/egress validated)gofmtandgolangci-lint— 0 issues../etc/passwd) correctly rejectedcategory: developer