بنقرة واحدة
new-theme
Scaffold a new documentation theme following the project's theme registration pattern from CLAUDE.md
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Scaffold a new documentation theme following the project's theme registration pattern from CLAUDE.md
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Run test coverage check and report per-package breakdown highlighting packages below the 72% gate and 80% new-code target
Scaffold a new YAML test fixture and register its path constant in testutil/test_constants.go
Run gremlins mutation testing on a specified Go package, following the same pattern as make test-mutation
Run all project security scans (make security) and summarize findings by tool and severity
| name | new-theme |
| description | Scaffold a new documentation theme following the project's theme registration pattern from CLAUDE.md |
The user provides a theme name (kebab-case, e.g. dark-mode).
Follow the "Adding a New Theme" steps from CLAUDE.md exactly:
Create templates_embed/templates/themes/<theme-name>/readme.tmpl.
Read the default template at templates_embed/templates/readme.tmpl and use it as a starting point.
Add two constants to appconstants/constants.go:
Theme<ThemeName> = "<theme-name>"
TemplatePath<ThemeName> = "templates/themes/<theme-name>/readme.tmpl"
Note: the path uses templates/ prefix (not templates_embed/templates/).
Add a case to internal/config.go:resolveThemeTemplate():
case appconstants.Theme<ThemeName>:
templatePath = appconstants.TemplatePath<ThemeName>
Update configThemesHandler() in main.go to include the new theme name in its output.
Run go build . — report success or any compilation errors.
Test: go run . gen testdata/example-action/ --theme <theme-name> --output /tmp/test-<theme-name>.md
Show the first 20 lines of the generated output.