heraspec 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/heraspec.js +24 -1
- package/bin/heraspec.js.map +2 -2
- package/dist/core/templates/skills/documents/templates/documentation-landing-page.html +57 -0
- package/dist/core/templates/skills/documents/templates/documentation.html +41 -0
- package/dist/core/templates/skills/documents/templates/landing-script.js +38 -0
- package/dist/core/templates/skills/documents/templates/landing-style.css +158 -0
- package/dist/core/templates/skills/documents/templates/script.js +56 -0
- package/dist/core/templates/skills/documents/templates/style.css +155 -0
- package/dist/core/templates/skills/documents/templates/technical-doc-template.md +16 -0
- package/dist/core/templates/skills/documents/templates/user-guide-template.md +16 -0
- package/dist/core/templates/skills/documents-skill.md +52 -90
- package/dist/core/templates/skills/wordpress-plugin-standard/templates/admin-dashboard.php +47 -0
- package/dist/core/templates/skills/wordpress-plugin-standard/templates/admin-settings.php +60 -0
- package/dist/core/templates/skills/wordpress-plugin-standard/templates/assets/admin-css.css +22 -0
- package/dist/core/templates/skills/wordpress-plugin-standard/templates/assets/admin-js.js +15 -0
- package/dist/core/templates/skills/wordpress-plugin-standard/templates/plugin-main.php +169 -0
- package/dist/core/templates/skills/wordpress-plugin-standard/templates/readme.txt +41 -0
- package/dist/core/templates/skills/wordpress-plugin-standard/templates/uninstall.php +21 -0
- package/dist/core/templates/skills/wordpress-plugin-standard-skill.md +80 -0
- package/package.json +1 -1
package/bin/heraspec.js
CHANGED
|
@@ -2333,7 +2333,8 @@ var SKILL_TEMPLATE_MAP = {
|
|
|
2333
2333
|
},
|
|
2334
2334
|
"documents": {
|
|
2335
2335
|
templateFileName: "documents-skill.md",
|
|
2336
|
-
isCrossCutting: true
|
|
2336
|
+
isCrossCutting: true,
|
|
2337
|
+
resourceDirs: ["documents/templates"]
|
|
2337
2338
|
},
|
|
2338
2339
|
"content-optimization": {
|
|
2339
2340
|
templateFileName: "content-optimization-skill.md",
|
|
@@ -2366,6 +2367,12 @@ var SKILL_TEMPLATE_MAP = {
|
|
|
2366
2367
|
isCrossCutting: false,
|
|
2367
2368
|
projectType: "wordpress",
|
|
2368
2369
|
resourceDirs: ["ux-element/templates"]
|
|
2370
|
+
},
|
|
2371
|
+
"wordpress:plugin-standard": {
|
|
2372
|
+
templateFileName: "wordpress-plugin-standard-skill.md",
|
|
2373
|
+
isCrossCutting: false,
|
|
2374
|
+
projectType: "wordpress",
|
|
2375
|
+
resourceDirs: ["wordpress-plugin-standard/templates"]
|
|
2369
2376
|
}
|
|
2370
2377
|
};
|
|
2371
2378
|
function getSkillTemplateInfo(skillName, projectType) {
|
|
@@ -2764,6 +2771,7 @@ var HelperCommand = class {
|
|
|
2764
2771
|
{ cmd: "heraspec init [path]", desc: "Initialize HeraSpec in project" },
|
|
2765
2772
|
{ cmd: "heraspec list", desc: "List changes (default)" },
|
|
2766
2773
|
{ cmd: "heraspec list --specs", desc: "List specs" },
|
|
2774
|
+
{ cmd: "heraspec skills", desc: "List all available skills (shortcut)" },
|
|
2767
2775
|
{ cmd: "heraspec show [name]", desc: "Show change or spec details" },
|
|
2768
2776
|
{ cmd: "heraspec validate [name]", desc: "Validate change or spec" },
|
|
2769
2777
|
{ cmd: "heraspec archive [name]", desc: "Archive completed change" },
|
|
@@ -2816,6 +2824,12 @@ var HelperCommand = class {
|
|
|
2816
2824
|
console.log(chalk6.gray(' "Generate docs with specific AI agent"\n'));
|
|
2817
2825
|
console.log(chalk6.gray(" heraspec make docs --agent chatgpt\n"));
|
|
2818
2826
|
console.log(chalk6.gray(" heraspec make docs --agent claude\n"));
|
|
2827
|
+
console.log(chalk6.white.bold("8. Multi-Format Documentation (Skill: Documents):\n"));
|
|
2828
|
+
console.log(chalk6.gray(' "Generate documentation with skill documents. Include:\n'));
|
|
2829
|
+
console.log(chalk6.gray(" - Standard Markdown file (.md)\n"));
|
|
2830
|
+
console.log(chalk6.gray(" - Interactive HTML Documentation (panel layout)\n"));
|
|
2831
|
+
console.log(chalk6.gray(' - Premium Documentation Landing Page (visual showcase)"\n'));
|
|
2832
|
+
console.log(chalk6.gray(' "Use documents skill to create parallel MD and Landing Page"\n'));
|
|
2819
2833
|
console.log("\u2500".repeat(70) + "\n");
|
|
2820
2834
|
}
|
|
2821
2835
|
showWorkflow() {
|
|
@@ -3948,6 +3962,15 @@ program.command("view").description("Display an interactive dashboard of specs a
|
|
|
3948
3962
|
process.exit(1);
|
|
3949
3963
|
}
|
|
3950
3964
|
});
|
|
3965
|
+
program.command("skills").description("List all available skills (shortcut for skill list)").action(async () => {
|
|
3966
|
+
try {
|
|
3967
|
+
const skillCommand = new SkillCommand();
|
|
3968
|
+
await skillCommand.list(".");
|
|
3969
|
+
} catch (error) {
|
|
3970
|
+
console.error(`Error: ${error.message}`);
|
|
3971
|
+
process.exit(1);
|
|
3972
|
+
}
|
|
3973
|
+
});
|
|
3951
3974
|
program.command("helper").description("Show usage guide, example prompts, and workflow instructions").action(async () => {
|
|
3952
3975
|
try {
|
|
3953
3976
|
const helperCommand = new HelperCommand();
|