@ionivetech/mugiwara 0.1.0

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.
Files changed (59) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +488 -0
  3. package/content/agents/brook-healing.md +36 -0
  4. package/content/agents/chopper-checkpoint.md +41 -0
  5. package/content/agents/eval-runner.md +44 -0
  6. package/content/agents/franky-gates.md +35 -0
  7. package/content/agents/jinbe-security.md +41 -0
  8. package/content/agents/luffy-orchestrator.md +44 -0
  9. package/content/agents/memory-keeper.md +37 -0
  10. package/content/agents/nami-planner.md +42 -0
  11. package/content/agents/resume-coordinator.md +39 -0
  12. package/content/agents/robin-reviewer.md +40 -0
  13. package/content/agents/sanji-quality.md +36 -0
  14. package/content/agents/skeptic-verifier.md +39 -0
  15. package/content/agents/using-mugiwara.md +36 -0
  16. package/content/agents/usopp-brainstorm.md +36 -0
  17. package/content/agents/zoro-execution.md +39 -0
  18. package/content/skills/mugiwara-agent-security/SKILL.md +58 -0
  19. package/content/skills/mugiwara-backend/SKILL.md +90 -0
  20. package/content/skills/mugiwara-brainstorm/SKILL.md +53 -0
  21. package/content/skills/mugiwara-checkpoint/SKILL.md +62 -0
  22. package/content/skills/mugiwara-dynamic-workflow/SKILL.md +85 -0
  23. package/content/skills/mugiwara-eval/SKILL.md +82 -0
  24. package/content/skills/mugiwara-execution/SKILL.md +81 -0
  25. package/content/skills/mugiwara-frontend/SKILL.md +122 -0
  26. package/content/skills/mugiwara-gates/SKILL.md +50 -0
  27. package/content/skills/mugiwara-git/SKILL.md +67 -0
  28. package/content/skills/mugiwara-healing/SKILL.md +62 -0
  29. package/content/skills/mugiwara-lessons/SKILL.md +57 -0
  30. package/content/skills/mugiwara-observability/SKILL.md +54 -0
  31. package/content/skills/mugiwara-orchestration/SKILL.md +55 -0
  32. package/content/skills/mugiwara-planning/SKILL.md +98 -0
  33. package/content/skills/mugiwara-quality/SKILL.md +39 -0
  34. package/content/skills/mugiwara-resume/SKILL.md +49 -0
  35. package/content/skills/mugiwara-review/SKILL.md +86 -0
  36. package/content/skills/mugiwara-security/SKILL.md +87 -0
  37. package/content/skills/mugiwara-ship/SKILL.md +58 -0
  38. package/content/skills/mugiwara-workflow/SKILL.md +90 -0
  39. package/dist/mugiwara.js +602 -0
  40. package/package.json +29 -0
  41. package/scripts/install.ps1 +14 -0
  42. package/scripts/install.sh +17 -0
  43. package/src/args.ts +31 -0
  44. package/src/cli.ts +187 -0
  45. package/src/frontmatter.ts +20 -0
  46. package/src/installer.ts +118 -0
  47. package/src/manifest.ts +29 -0
  48. package/src/prompt.ts +37 -0
  49. package/src/targets/antigravity.ts +10 -0
  50. package/src/targets/claude.ts +25 -0
  51. package/src/targets/cline.ts +10 -0
  52. package/src/targets/codex.ts +10 -0
  53. package/src/targets/copilot.ts +26 -0
  54. package/src/targets/gemini.ts +10 -0
  55. package/src/targets/generic.ts +43 -0
  56. package/src/targets/index.ts +14 -0
  57. package/src/targets/kilo.ts +10 -0
  58. package/src/targets/opencode.ts +25 -0
  59. package/src/targets/windsurf.ts +10 -0
@@ -0,0 +1,25 @@
1
+ // src/targets/opencode.ts
2
+ import { join } from 'node:path';
3
+ import { stringifyFrontmatter, type FrontmatterData } from '../frontmatter.ts';
4
+ import type { Target } from '../installer.ts';
5
+
6
+ export const target: Target = {
7
+ id: 'opencode',
8
+ label: 'opencode',
9
+ native: true,
10
+ paths({ scope, projectDir, home }) {
11
+ const root = scope === 'global' ? join(home, '.config', 'opencode') : join(projectDir, '.opencode');
12
+ return { skillsDir: join(root, 'skills'), agentsDir: join(root, 'agents') };
13
+ },
14
+ transformSkill(data: FrontmatterData, body: string) {
15
+ return {
16
+ relPath: join(data.name, 'SKILL.md'),
17
+ text: stringifyFrontmatter({ name: data.name, description: data.description }, body),
18
+ };
19
+ },
20
+ transformAgent(data: FrontmatterData, body: string) {
21
+ const fm: FrontmatterData = { name: data.name, description: data.description };
22
+ if (data.tools) fm.tools = data.tools;
23
+ return { relPath: `${data.name}.md`, text: stringifyFrontmatter(fm, body) };
24
+ },
25
+ };
@@ -0,0 +1,10 @@
1
+ // src/targets/windsurf.ts
2
+ import { makeGeneric } from './generic.ts';
3
+
4
+ export const target = makeGeneric({
5
+ id: 'windsurf',
6
+ label: 'Windsurf',
7
+ rulesDir: '.devin/rules',
8
+ bootstrapFile: null,
9
+ bootstrapPointer: null,
10
+ });