nikos 0.0.0-stage → 0.0.1
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/LICENSE +21 -0
- package/README.md +32 -2
- package/dist/cli.js +60 -0
- package/dist/commands/bet.js +97 -0
- package/dist/commands/clear.js +100 -0
- package/dist/commands/decide.js +60 -0
- package/dist/commands/decisions.js +71 -0
- package/dist/commands/init.js +72 -0
- package/dist/commands/next.js +35 -0
- package/dist/commands/plan.js +64 -0
- package/dist/commands/show.js +82 -0
- package/dist/commands/state.js +104 -0
- package/dist/commands/validate.js +206 -0
- package/dist/commands/verify.js +95 -0
- package/dist/lib/project.js +42 -0
- package/dist/lint/constitution.js +40 -0
- package/dist/lint/gherkin.js +99 -0
- package/dist/lint/portable.js +66 -0
- package/dist/verify/detect.js +21 -0
- package/docs/format.md +296 -0
- package/docs/gherkin.md +81 -0
- package/docs/install.md +72 -0
- package/docs/intentdocs-mapping.md +117 -0
- package/package.json +44 -4
- package/schemas/bet.schema.json +23 -0
- package/schemas/state.schema.json +34 -0
- package/schemas/storymap.schema.json +43 -0
- package/skills/clear/SKILL.md +55 -0
- package/skills/clear-review/SKILL.md +45 -0
- package/skills/decisions/SKILL.md +45 -0
- package/skills/intent/SKILL.md +39 -0
- package/skills/nikos-mode/SKILL.md +61 -0
- package/skills/nikos-mode/playbooks/answer.md +9 -0
- package/skills/nikos-mode/playbooks/bet.md +14 -0
- package/skills/nikos-mode/playbooks/build-a-story.md +14 -0
- package/skills/nikos-mode/playbooks/change.md +12 -0
- package/skills/nikos-mode/playbooks/idea-to-blueprint.md +16 -0
- package/skills/nikos-mode/playbooks/index.md +13 -0
- package/skills/nikos-mode/playbooks/validate.md +17 -0
- package/skills/nikos-mode/principles/index.md +14 -0
- package/skills/verify/SKILL.md +49 -0
- package/templates/intent/constitution.md +19 -0
- package/templates/intent/decisions.md +12 -0
- package/templates/intent/features/getting-started/first-story.feature +12 -0
- package/templates/intent/plans/.gitkeep +0 -0
- package/templates/intent/state.yaml +4 -0
- package/templates/intent/storymap.yaml +10 -0
- package/templates/plan.md +13 -0
- package/templates/verify/js/cucumber.mjs +6 -0
- package/templates/verify/js/test/steps/first-story.steps.mjs +16 -0
- package/templates/verify/python/behave.ini +4 -0
- package/templates/verify/python/steps/first_story_steps.py +19 -0
- package/templates/verify/ts/cucumber.mjs +6 -0
- package/templates/verify/ts/test/steps/first-story.steps.ts +16 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// Step definitions for intent/features/getting-started/first-story.feature.
|
|
2
|
+
// Replace each "pending" with a real check against your app. Never edit the
|
|
3
|
+
// feature to make a step pass.
|
|
4
|
+
import { Given, When, Then } from "@cucumber/cucumber";
|
|
5
|
+
|
|
6
|
+
Given("I am a new user", function () {
|
|
7
|
+
return "pending";
|
|
8
|
+
});
|
|
9
|
+
|
|
10
|
+
When("I do the one thing this product is for", function () {
|
|
11
|
+
return "pending";
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
Then("I see the result I came for", function () {
|
|
15
|
+
return "pending";
|
|
16
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Step definitions for intent/features/getting-started/first-story.feature.
|
|
2
|
+
# Replace each NotImplementedError with a real check against your app. Never
|
|
3
|
+
# edit the feature to make a step pass.
|
|
4
|
+
from behave import given, when, then
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
@given("I am a new user")
|
|
8
|
+
def step_new_user(context):
|
|
9
|
+
raise NotImplementedError("STEP: Given I am a new user")
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
@when("I do the one thing this product is for")
|
|
13
|
+
def step_core_action(context):
|
|
14
|
+
raise NotImplementedError("STEP: When I do the one thing this product is for")
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
@then("I see the result I came for")
|
|
18
|
+
def step_result(context):
|
|
19
|
+
raise NotImplementedError("STEP: Then I see the result I came for")
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// Step definitions for intent/features/getting-started/first-story.feature.
|
|
2
|
+
// Replace each "pending" with a real check against your app. Never edit the
|
|
3
|
+
// feature to make a step pass.
|
|
4
|
+
import { Given, When, Then } from "@cucumber/cucumber";
|
|
5
|
+
|
|
6
|
+
Given("I am a new user", function (): string {
|
|
7
|
+
return "pending";
|
|
8
|
+
});
|
|
9
|
+
|
|
10
|
+
When("I do the one thing this product is for", function (): string {
|
|
11
|
+
return "pending";
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
Then("I see the result I came for", function (): string {
|
|
15
|
+
return "pending";
|
|
16
|
+
});
|