codex-goal-mvp-skill 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.
package/README.md ADDED
@@ -0,0 +1,37 @@
1
+ # GOAL MVP Codex Skill
2
+
3
+ Install the GOAL MVP skill for Codex.
4
+
5
+ ```sh
6
+ npx codex-goal-mvp-skill
7
+ ```
8
+
9
+ Then invoke it in Codex with:
10
+
11
+ ```text
12
+ /goal MVP build ...
13
+ $goal-mvp build ...
14
+ Goal MVP: build ...
15
+ ```
16
+
17
+ ## Global Install
18
+
19
+ ```sh
20
+ npm install -g codex-goal-mvp-skill
21
+ goal-mvp-skill
22
+ ```
23
+
24
+ ## Custom Target
25
+
26
+ ```sh
27
+ goal-mvp-skill --target ~/.codex/skills/goal-mvp
28
+ ```
29
+
30
+ Use `--force` to overwrite an existing installation.
31
+
32
+ ## Publish
33
+
34
+ ```sh
35
+ npm login
36
+ npm publish --access public
37
+ ```
@@ -0,0 +1,74 @@
1
+ #!/usr/bin/env node
2
+
3
+ const fs = require("fs");
4
+ const os = require("os");
5
+ const path = require("path");
6
+
7
+ const packageRoot = path.resolve(__dirname, "..");
8
+ const sourceDir = path.join(packageRoot, "skill", "goal-mvp");
9
+
10
+ const args = new Set(process.argv.slice(2));
11
+ const targetArgIndex = process.argv.findIndex((arg) => arg === "--target");
12
+ const explicitTarget =
13
+ targetArgIndex !== -1 ? process.argv[targetArgIndex + 1] : undefined;
14
+
15
+ const targetDir = path.resolve(
16
+ explicitTarget || path.join(os.homedir(), ".codex", "skills", "goal-mvp"),
17
+ );
18
+
19
+ function printHelp() {
20
+ console.log(`GOAL MVP Codex skill installer
21
+
22
+ Usage:
23
+ npx codex-goal-mvp-skill
24
+ goal-mvp-skill --target /path/to/.codex/skills/goal-mvp
25
+
26
+ Options:
27
+ --target <dir> Install into a custom skill directory
28
+ --force Overwrite an existing installation
29
+ --dry-run Print what would happen without writing files
30
+ --help Show this help
31
+ `);
32
+ }
33
+
34
+ function copyDir(from, to) {
35
+ fs.mkdirSync(to, { recursive: true });
36
+
37
+ for (const entry of fs.readdirSync(from, { withFileTypes: true })) {
38
+ const sourcePath = path.join(from, entry.name);
39
+ const targetPath = path.join(to, entry.name);
40
+
41
+ if (entry.isDirectory()) {
42
+ copyDir(sourcePath, targetPath);
43
+ } else if (entry.isFile()) {
44
+ fs.copyFileSync(sourcePath, targetPath);
45
+ }
46
+ }
47
+ }
48
+
49
+ if (args.has("--help") || args.has("-h")) {
50
+ printHelp();
51
+ process.exit(0);
52
+ }
53
+
54
+ if (!fs.existsSync(sourceDir)) {
55
+ console.error(`Skill source not found: ${sourceDir}`);
56
+ process.exit(1);
57
+ }
58
+
59
+ if (args.has("--dry-run")) {
60
+ console.log(`Would install GOAL MVP skill to: ${targetDir}`);
61
+ process.exit(0);
62
+ }
63
+
64
+ if (fs.existsSync(targetDir) && !args.has("--force")) {
65
+ console.error(`Target already exists: ${targetDir}`);
66
+ console.error("Run again with --force to overwrite it.");
67
+ process.exit(1);
68
+ }
69
+
70
+ fs.rmSync(targetDir, { recursive: true, force: true });
71
+ copyDir(sourceDir, targetDir);
72
+
73
+ console.log(`Installed GOAL MVP skill to: ${targetDir}`);
74
+ console.log("Restart Codex if the skill list does not refresh automatically.");
package/package.json ADDED
@@ -0,0 +1,26 @@
1
+ {
2
+ "name": "codex-goal-mvp-skill",
3
+ "version": "0.1.0",
4
+ "description": "Install the GOAL MVP Codex skill.",
5
+ "type": "commonjs",
6
+ "bin": {
7
+ "codex-goal-mvp-skill": "./bin/codex-goal-mvp-skill.js",
8
+ "goal-mvp-skill": "./bin/codex-goal-mvp-skill.js"
9
+ },
10
+ "files": [
11
+ "bin",
12
+ "skill",
13
+ "README.md"
14
+ ],
15
+ "scripts": {
16
+ "test": "node ./bin/codex-goal-mvp-skill.js --dry-run"
17
+ },
18
+ "keywords": [
19
+ "codex",
20
+ "skill",
21
+ "mvp",
22
+ "goal"
23
+ ],
24
+ "author": "",
25
+ "license": "MIT"
26
+ }
@@ -0,0 +1,140 @@
1
+ ---
2
+ name: goal-mvp
3
+ description: "Use when the user writes /goal MVP, /goal mvp, Goal MVP, GoalMvp, $GoalMvp, $goal-mvp, or asks to turn a goal, idea, app concept, startup concept, game concept, automation, plugin, or Codex skill into a small buildable MVP. This skill runs a five-step workflow: clarify with mandatory questions, scope, plan, build, verify and launch."
4
+ ---
5
+
6
+ # GOAL MVP
7
+
8
+ Turn a raw goal into a working MVP with a bias toward shipping something testable in the current workspace.
9
+
10
+ ## Core Rule
11
+
12
+ Do not start building on the first response unless the user explicitly asks to skip questions. First confirm the goal with a short clarification checkpoint, then convert the user's goal into concrete scope, build the smallest useful version, verify it, and hand off the result with a demo path or next action.
13
+
14
+ ## First Response Rule
15
+
16
+ On the first response after this skill is triggered:
17
+
18
+ 1. Restate the interpreted goal in one sentence.
19
+ 2. Ask exactly 3 short clarifying questions.
20
+ 3. Stop and wait for the user's answers.
21
+
22
+ Only skip this checkpoint if the user writes one of these explicit bypass phrases:
23
+
24
+ - "procedi senza domande"
25
+ - "no questions"
26
+ - "skip questions"
27
+ - "vai diretto al build"
28
+
29
+ If the user gives partial answers, make reasonable assumptions for the rest and continue to scope, plan, build, and verify.
30
+
31
+ ## Five-Step Workflow
32
+
33
+ ### 1. Clarify
34
+
35
+ Extract:
36
+
37
+ - target user
38
+ - problem or desire
39
+ - core outcome
40
+ - constraints, stack, deadline, or format
41
+ - success criteria
42
+
43
+ Ask exactly 3 short questions before build begins. Prefer questions that change product direction:
44
+
45
+ - Who is the target user?
46
+ - What is the one output the MVP must produce?
47
+ - What should be included or avoided in the first version?
48
+
49
+ After the user answers, summarize the assumptions in 2-4 bullets and continue.
50
+
51
+ ### 2. Scope
52
+
53
+ Define the smallest useful MVP:
54
+
55
+ - one primary user journey
56
+ - 3-5 essential features
57
+ - explicit non-goals
58
+ - a demoable output
59
+
60
+ Prefer a narrow product that works over a broad plan. Cut dashboards, auth, payments, admin panels, AI agents, and integrations unless they are central to the goal or already present in the repo.
61
+
62
+ ### 3. Plan
63
+
64
+ Choose an implementation path that fits the existing context:
65
+
66
+ - use the current repo stack when one exists
67
+ - for a new simple web MVP, prefer Vite/React or the repo's existing frontend setup
68
+ - for mobile MVPs, use Expo/React Native when available
69
+ - for games, include core loop, controls, scoring, fail/win state, and playtest
70
+ - for AI products, include model flow, prompt boundaries, failure cases, and cost awareness
71
+ - for skills/plugins, create valid Codex structure and validate it
72
+
73
+ Provide a short plan only when it improves coordination. Then execute.
74
+
75
+ ### 4. Build
76
+
77
+ Implement the MVP end to end:
78
+
79
+ - create or edit the needed files
80
+ - keep changes scoped
81
+ - use existing patterns before introducing new abstractions
82
+ - include realistic sample data when external services are not required
83
+ - avoid fake buttons or dead-end controls in user-facing flows
84
+
85
+ If the goal is a content artifact rather than software, build the artifact directly: document, deck, spreadsheet, launch post, script, or prompt pack.
86
+
87
+ ### 5. Verify And Launch
88
+
89
+ Run the relevant checks:
90
+
91
+ - build, tests, lint, or typecheck when available
92
+ - local smoke test for apps
93
+ - browser or screenshot verification for visual/front-end work
94
+ - validator scripts for Codex skills
95
+
96
+ Finish with:
97
+
98
+ - what was built
99
+ - how to run or view it
100
+ - verification performed
101
+ - next best improvements
102
+ - launch assets when relevant, such as README notes, pitch copy, demo prompt, or X post draft
103
+
104
+ ## Invocation Patterns
105
+
106
+ Treat these as equivalent:
107
+
108
+ ```text
109
+ /goal MVP build ...
110
+ $GoalMvp build ...
111
+ $goal-mvp build ...
112
+ Goal MVP: build ...
113
+ ```
114
+
115
+ When the user says they want to "include /goal", explain only if needed: this skill does not patch Codex's native slash command system, but it is designed to trigger from `/goal MVP` text and explicit `$goal-mvp` invocation.
116
+
117
+ ## Demo Prompt Template
118
+
119
+ Use this template when the user wants to test the skill in a video:
120
+
121
+ ```text
122
+ /goal MVP crea una micro-SaaS per freelance web designer che trova attività locali senza sito, assegna uno score al lead e genera un messaggio outreach. Voglio una demo locale funzionante con UI curata, dati sample e CSV export.
123
+ ```
124
+
125
+ ## Social Launch Draft
126
+
127
+ When asked to prepare a launch post, draft concise Italian copy by default:
128
+
129
+ ```text
130
+ Ho creato GOAL MVP: una skill Codex che trasforma "/goal MVP ..." in un workflow completo.
131
+
132
+ 5 step:
133
+ 1. chiarisce l'idea
134
+ 2. taglia lo scope
135
+ 3. pianifica l'MVP
136
+ 4. builda davvero
137
+ 5. verifica e prepara il lancio
138
+
139
+ La testo oggi con una demo: da idea grezza a MVP locale funzionante.
140
+ ```
@@ -0,0 +1,4 @@
1
+ interface:
2
+ display_name: "GOAL MVP"
3
+ short_description: "Turn goals into buildable MVPs"
4
+ default_prompt: "Use $goal-mvp to turn this goal into a small buildable MVP and carry it through the five-step workflow."
@@ -0,0 +1,50 @@
1
+ # GOAL MVP Test And Launch Kit
2
+
3
+ ## Video Test Flow
4
+
5
+ Use this flow for a short demo video:
6
+
7
+ 1. Show the invocation:
8
+
9
+ ```text
10
+ /goal MVP crea una micro-SaaS per freelance web designer che trova attività locali senza sito, assegna uno score al lead e genera un messaggio outreach. Voglio una demo locale funzionante con UI curata, dati sample e CSV export.
11
+ ```
12
+
13
+ 2. Show GOAL MVP extracting the target, problem, MVP scope, and success criteria.
14
+ 3. Show the 3 mandatory clarifying questions.
15
+ 4. Answer the questions briefly.
16
+ 5. Show the implementation plan.
17
+ 6. Show files being created or edited.
18
+ 7. Show the local app running.
19
+ 8. Show verification output.
20
+ 9. End on the result: "idea -> MVP testabile".
21
+
22
+ ## Short X Post
23
+
24
+ ```text
25
+ Ho creato GOAL MVP: una skill Codex che trasforma "/goal MVP ..." in un workflow completo.
26
+
27
+ Clarify -> Scope -> Plan -> Build -> Verify/Launch.
28
+
29
+ Obiettivo: partire da un'idea grezza e arrivare a un MVP locale testabile, non solo a un piano.
30
+
31
+ La testo oggi con una demo.
32
+ ```
33
+
34
+ ## Longer X Post
35
+
36
+ ```text
37
+ Sto testando GOAL MVP, una skill Codex che integra il modo in cui uso /goal.
38
+
39
+ Scrivo:
40
+ "/goal MVP voglio buildare..."
41
+
42
+ E la skill forza 5 step:
43
+ 1. chiarisce target e problema
44
+ 2. taglia lo scope a un MVP piccolo
45
+ 3. pianifica stack e feature
46
+ 4. implementa davvero
47
+ 5. verifica e prepara il lancio
48
+
49
+ L'idea e': meno planning infinito, piu' demo locali funzionanti.
50
+ ```