mustflow 2.115.4 → 2.115.9
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/package.json +1 -1
- package/templates/default/i18n.toml +52 -22
- package/templates/default/locales/en/.mustflow/docs/agent-workflow.md +13 -1
- package/templates/default/locales/en/.mustflow/skills/INDEX.md +16 -8
- package/templates/default/locales/en/.mustflow/skills/ada-code-change/SKILL.md +293 -0
- package/templates/default/locales/en/.mustflow/skills/astro-code-change/SKILL.md +10 -2
- package/templates/default/locales/en/.mustflow/skills/completion-evidence-gate/SKILL.md +14 -1
- package/templates/default/locales/en/.mustflow/skills/core-web-vitals-field-review/SKILL.md +2 -2
- package/templates/default/locales/en/.mustflow/skills/deno-code-change/SKILL.md +291 -0
- package/templates/default/locales/en/.mustflow/skills/dependency-upgrade-review/SKILL.md +12 -6
- package/templates/default/locales/en/.mustflow/skills/elysia-code-change/SKILL.md +3 -3
- package/templates/default/locales/en/.mustflow/skills/hono-code-change/SKILL.md +2 -2
- package/templates/default/locales/en/.mustflow/skills/instruction-conflict-scope-check/SKILL.md +23 -12
- package/templates/default/locales/en/.mustflow/skills/nestjs-code-change/SKILL.md +5 -7
- package/templates/default/locales/en/.mustflow/skills/node-code-change/SKILL.md +2 -2
- package/templates/default/locales/en/.mustflow/skills/pascal-code-change/SKILL.md +301 -0
- package/templates/default/locales/en/.mustflow/skills/php-code-change/SKILL.md +327 -0
- package/templates/default/locales/en/.mustflow/skills/python-code-change/SKILL.md +11 -7
- package/templates/default/locales/en/.mustflow/skills/release-publish-change/SKILL.md +13 -5
- package/templates/default/locales/en/.mustflow/skills/routes.toml +30 -0
- package/templates/default/locales/en/.mustflow/skills/skill-authoring/SKILL.md +35 -9
- package/templates/default/locales/en/.mustflow/skills/skill-refresh/SKILL.md +10 -1
- package/templates/default/locales/en/.mustflow/skills/source-freshness-check/SKILL.md +13 -6
- package/templates/default/locales/en/.mustflow/skills/svelte-code-change/SKILL.md +16 -5
- package/templates/default/locales/en/.mustflow/skills/tauri-code-change/SKILL.md +3 -2
- package/templates/default/locales/en/.mustflow/skills/threejs-code-change/SKILL.md +207 -0
- package/templates/default/locales/en/.mustflow/skills/typescript-code-change/SKILL.md +23 -16
- package/templates/default/locales/en/.mustflow/skills/version-freshness-check/SKILL.md +12 -6
- package/templates/default/locales/en/AGENTS.md +8 -1
- package/templates/default/manifest.toml +36 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
mustflow_doc: skill.python-code-change
|
|
3
3
|
locale: en
|
|
4
4
|
canonical: true
|
|
5
|
-
revision:
|
|
5
|
+
revision: 6
|
|
6
6
|
lifecycle: mustflow-owned
|
|
7
7
|
authority: procedure
|
|
8
8
|
name: python-code-change
|
|
@@ -127,13 +127,13 @@ Preserve Python runtime, standard-library, packaging, import, architecture, asyn
|
|
|
127
127
|
- rebuild large dicts after bulk deletion when long-lived memory and iteration cost matter;
|
|
128
128
|
- avoid eager default factories hidden in `dict.get(key, expensive())` or `setdefault(key, expensive())`.
|
|
129
129
|
15. Treat newer syntax and typing features as semantic tools, not style trophies:
|
|
130
|
-
- use template string literals only when a handler needs the static and interpolated parts separately, such as SQL builders, shell command objects, logging templates, or markup renderers; do not replace ordinary f-strings when the result is just a string;
|
|
131
|
-
- when runtime code reads annotations, use the
|
|
132
|
-
- use sentinel values to distinguish "argument omitted" from `None`, but compare sentinels by identity and keep public signatures readable;
|
|
130
|
+
- use Python 3.14+ template string literals only when a handler needs the static and interpolated parts separately, such as SQL builders, shell command objects, logging templates, or markup renderers; do not replace ordinary f-strings when the result is just a string;
|
|
131
|
+
- when runtime code reads annotations, use Python 3.14+ `annotationlib` or the official inspection API supported by the declared runtime, and choose the intended format explicitly instead of assuming `__annotations__` already contains runtime values;
|
|
132
|
+
- use sentinel values to distinguish "argument omitted" from `None`, but compare sentinels by identity and keep public signatures readable; in the official snapshot checked on 2026-07-11, the built-in sentinel facility was Python 3.15+ prerelease-only, so refresh the current release status before adoption;
|
|
133
133
|
- prefer `Mapping` or narrower read-only protocols for read-only inputs so immutable mapping implementations are not rejected accidentally;
|
|
134
|
-
- use closed or extra-key `TypedDict` forms only when the supported Python and type-checker versions agree with that shape.
|
|
134
|
+
- use closed or extra-key `TypedDict` forms only when the supported Python and type-checker versions agree with that shape; the Python 3.15-only forms were prerelease-only in the official snapshot checked on 2026-07-11, so refresh status before adoption.
|
|
135
135
|
16. Keep `finally` as cleanup, not outcome selection. Do not add `return`, `break`, or `continue` inside `finally` blocks because they can mask exceptions and cancellation; move result decisions outside cleanup or make suppression an explicit documented contract.
|
|
136
|
-
17. Use explicit lazy imports only for startup-sensitive module-scope dependencies after checking version support and import-time side effects. Do not lazily import plugins, registries, monkey patches, model definitions, ORM mappings, or observability setup whose import side effects are part of startup correctness.
|
|
136
|
+
17. Use Python 3.15+ explicit lazy imports only for startup-sensitive module-scope dependencies after checking version support and import-time side effects. The syntax was prerelease-only in the official snapshot checked on 2026-07-11; refresh the current Python 3.15 release status before placing it in stable-target examples. Do not lazily import plugins, registries, monkey patches, model definitions, ORM mappings, or observability setup whose import side effects are part of startup correctness.
|
|
137
137
|
18. Keep process, archive, and concurrency safety explicit:
|
|
138
138
|
- subprocess calls use argument lists, checked failure handling, timeouts, bounded captured output, and a narrow `shell=True` exception when the project already permits it;
|
|
139
139
|
- archive extraction, including `tarfile`, keeps untrusted archive inspection, extraction filters, partial-extract cleanup, and older-runtime defaults visible;
|
|
@@ -215,7 +215,11 @@ Report missing package, type, or test intents rather than inventing raw tool com
|
|
|
215
215
|
- If build backend, package manager, lockfile, dependency group, optional dependency, or editable-install behavior is ambiguous, keep the existing owner and report the missing packaging contract instead of migrating tools.
|
|
216
216
|
- If the supported Python version blocks a syntax choice, rewrite to the supported form.
|
|
217
217
|
- If the supported Python version blocks a standard-library feature, changed default, diagnostic flag, or helper API, use the supported equivalent or report the runtime-support decision instead of silently raising `requires-python`.
|
|
218
|
-
- If template strings
|
|
218
|
+
- If Python 3.14 template strings or annotation inspection are useful but the project supports older runtimes, keep a fallback or report the required stable-runtime bump.
|
|
219
|
+
- If Python 3.15 lazy imports, built-in sentinels or immutable mappings, or advanced `TypedDict`
|
|
220
|
+
shapes are useful, first refresh the official release and feature status. When the target remains
|
|
221
|
+
prerelease, keep them out of stable-target code and examples unless the repository explicitly
|
|
222
|
+
adopts that prerelease track.
|
|
219
223
|
- If third-party stubs or package metadata are wrong, document the local workaround and keep it narrow.
|
|
220
224
|
- If `Any`, `cast`, `type: ignore`, runtime `Protocol`, or type guard behavior is needed, keep it local, justified, and backed by runtime validation or tests where the type claim can lie.
|
|
221
225
|
- If performance risk appears in collections, generators, copies, or caches, report the input-size assumption or use an existing benchmark/profile intent when configured.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
mustflow_doc: skill.release-publish-change
|
|
3
3
|
locale: en
|
|
4
4
|
canonical: true
|
|
5
|
-
revision:
|
|
5
|
+
revision: 3
|
|
6
6
|
lifecycle: mustflow-owned
|
|
7
7
|
authority: procedure
|
|
8
8
|
name: release-publish-change
|
|
@@ -60,7 +60,7 @@ The release is not done when tests pass locally, a version string changes, or a
|
|
|
60
60
|
and whether each belongs to publication, branch CI, tag CI, release asset generation, or another
|
|
61
61
|
independent verification path.
|
|
62
62
|
- Recovery model: unpublish, yank, deprecate, republish with new version, move channel pointer, revoke asset, restore from backup, or forward fix.
|
|
63
|
-
- Configured command intents for build, package inspection, release verification, docs validation, and user installation or updater smoke test. If no such intent exists, report the missing intent instead of inventing a raw command.
|
|
63
|
+
- Configured command intents for build, package inspection, release verification, docs validation, and user installation or updater smoke test. For post-publish checks, also identify the exact immutable version, intended registry or channel, consumer environment, public entrypoints, and runtime or platform evidence. If no such intent exists, report the missing intent instead of inventing a raw command.
|
|
64
64
|
|
|
65
65
|
<!-- mustflow-section: preconditions -->
|
|
66
66
|
## Preconditions
|
|
@@ -101,6 +101,14 @@ The release is not done when tests pass locally, a version string changes, or a
|
|
|
101
101
|
- GitHub Releases depend on Git tags, but release assets, checksums, signatures, and release body are separate evidence surfaces.
|
|
102
102
|
- App updater channels depend on metadata and signature state, not only uploaded installers.
|
|
103
103
|
5. For npm-style package publication, verify package metadata, packed file list, entrypoints, bin links, README, LICENSE, access, provenance or trusted publisher setup, registry target, and exact published version behavior through configured intents.
|
|
104
|
+
- Keep pre-publish packed-artifact checks separate from post-publish registry checks. A local tarball or workspace install does not prove that the immutable registry version users receive is installable.
|
|
105
|
+
- Run the post-publish smoke in a fresh consumer root outside the source checkout. Install the exact immutable name and version from the intended registry without workspace links or local archive fallbacks.
|
|
106
|
+
- Use a fresh or isolated package-manager cache strategy and prefer current registry metadata. A cache-only success is not independent remote-channel evidence.
|
|
107
|
+
- Disable lifecycle scripts by default so a package cannot repair missing build output during installation. If lifecycle scripts are an intentional public contract, test that behavior separately with the required sandbox and approval boundary.
|
|
108
|
+
- Execute the public command shims, exported entrypoints, or documented import path that users invoke. Calling an internal module file directly does not prove that package-manager shims, aliases, permissions, or entry metadata work.
|
|
109
|
+
- Exercise every documented command alias that is part of the release contract, then run one minimal documented workflow that crosses initialization or configuration validation when applicable.
|
|
110
|
+
- Retry only bounded transient registry conditions such as propagation delay, throttling, or transport reset. Do not retry authentication, package metadata, entrypoint, or runtime failures into a false pass.
|
|
111
|
+
- Keep temporary state owned and removable, preserve the primary failure if cleanup also fails, and report the exact package version, registry, package-manager version, runtime, operating system, and public entrypoints exercised.
|
|
104
112
|
6. For PyPI-style publication, verify source distribution, wheel contents, metadata, Python version constraints, entrypoints, README rendering, filename uniqueness, and install smoke path through configured intents.
|
|
105
113
|
7. For crates.io-style publication, verify manifest metadata, include and exclude rules, packaged file list, feature combinations, docs expectations, and yank-forward-fix policy.
|
|
106
114
|
8. For Go modules, treat the Git tag as the release. Verify module path, semantic tag, major-version path rules, tag target commit, proxy/cache implications, and module consumer smoke path. Do not move or delete tags as a casual recovery shortcut.
|
|
@@ -137,7 +145,7 @@ The release is not done when tests pass locally, a version string changes, or a
|
|
|
137
145
|
- Remote publication status is classified as not started, prepared, published, verified, failed, yanked, deprecated, superseded, or unknown.
|
|
138
146
|
- Branch, tag, and publication workflow checks are classified separately as green, failing, pending,
|
|
139
147
|
skipped, not applicable, or unknown.
|
|
140
|
-
-
|
|
148
|
+
- Independent consumer-root installation, pull, download, or updater smoke status through public entrypoints is known with environment evidence, or explicitly reported as skipped.
|
|
141
149
|
- Recovery plan matches the channel's actual permanence and rules.
|
|
142
150
|
|
|
143
151
|
<!-- mustflow-section: verification -->
|
|
@@ -155,7 +163,7 @@ Use configured oneshot command intents when available:
|
|
|
155
163
|
- `test_release`
|
|
156
164
|
- `mustflow_check`
|
|
157
165
|
|
|
158
|
-
Prefer configured release, package-inspection, artifact-inspection, install-smoke, updater-smoke, checksum, signature, provenance, or registry-verification intents when the command contract exposes them.
|
|
166
|
+
Prefer configured release, package-inspection, artifact-inspection, install-smoke, updater-smoke, checksum, signature, provenance, or registry-verification intents when the command contract exposes them. A local packed-artifact check may support pre-publish confidence, but it does not satisfy an independent post-publish installation claim.
|
|
159
167
|
|
|
160
168
|
Do not infer package manager, registry, Docker, Git, Homebrew, or updater commands from project files. If the needed intent is missing, report the missing command contract instead of writing a raw command into the skill or final release procedure.
|
|
161
169
|
|
|
@@ -180,7 +188,7 @@ Do not infer package manager, registry, Docker, Git, Homebrew, or updater comman
|
|
|
180
188
|
- Artifact contents inspected
|
|
181
189
|
- Remote publication state
|
|
182
190
|
- Branch, tag, and publication check-suite state
|
|
183
|
-
- User installation, download, pull, or updater smoke
|
|
191
|
+
- User installation, download, pull, or updater smoke result, including exact immutable version, registry or channel, public entrypoints, package manager, runtime, operating system, retry outcome, and skipped platforms
|
|
184
192
|
- Synchronized version, docs, manifest, workflow, and test surfaces
|
|
185
193
|
- Recovery or rollback classification
|
|
186
194
|
- Command intents run
|
|
@@ -546,6 +546,18 @@ route_type = "primary"
|
|
|
546
546
|
priority = 85
|
|
547
547
|
applies_to_reasons = ["code_change", "behavior_change", "public_api_change", "test_change", "performance_change", "security_change", "package_metadata_change", "release_risk"]
|
|
548
548
|
|
|
549
|
+
[routes."ada-code-change"]
|
|
550
|
+
category = "general_code"
|
|
551
|
+
route_type = "primary"
|
|
552
|
+
priority = 85
|
|
553
|
+
applies_to_reasons = ["code_change", "behavior_change", "public_api_change", "test_change", "data_change", "performance_change", "security_change", "package_metadata_change", "release_risk"]
|
|
554
|
+
|
|
555
|
+
[routes."pascal-code-change"]
|
|
556
|
+
category = "general_code"
|
|
557
|
+
route_type = "primary"
|
|
558
|
+
priority = 85
|
|
559
|
+
applies_to_reasons = ["code_change", "behavior_change", "public_api_change", "test_change", "data_change", "performance_change", "security_change", "package_metadata_change", "release_risk"]
|
|
560
|
+
|
|
549
561
|
[routes."shell-code-change"]
|
|
550
562
|
category = "general_code"
|
|
551
563
|
route_type = "primary"
|
|
@@ -570,6 +582,12 @@ route_type = "primary"
|
|
|
570
582
|
priority = 85
|
|
571
583
|
applies_to_reasons = ["code_change", "behavior_change", "public_api_change", "test_change", "migration_change", "security_change", "package_metadata_change", "release_risk"]
|
|
572
584
|
|
|
585
|
+
[routes."deno-code-change"]
|
|
586
|
+
category = "general_code"
|
|
587
|
+
route_type = "primary"
|
|
588
|
+
priority = 85
|
|
589
|
+
applies_to_reasons = ["code_change", "behavior_change", "public_api_change", "test_change", "docs_change", "performance_change", "security_change", "privacy_change", "data_change", "migration_change", "package_metadata_change", "release_risk"]
|
|
590
|
+
|
|
573
591
|
[routes."docker-code-change"]
|
|
574
592
|
category = "general_code"
|
|
575
593
|
route_type = "primary"
|
|
@@ -618,6 +636,12 @@ route_type = "primary"
|
|
|
618
636
|
priority = 85
|
|
619
637
|
applies_to_reasons = ["code_change", "behavior_change", "public_api_change", "test_change", "data_change", "migration_change", "performance_change", "security_change", "privacy_change", "package_metadata_change", "release_risk"]
|
|
620
638
|
|
|
639
|
+
[routes."php-code-change"]
|
|
640
|
+
category = "general_code"
|
|
641
|
+
route_type = "primary"
|
|
642
|
+
priority = 85
|
|
643
|
+
applies_to_reasons = ["code_change", "behavior_change", "public_api_change", "test_change", "docs_change", "data_change", "migration_change", "performance_change", "security_change", "privacy_change", "package_metadata_change", "release_risk"]
|
|
644
|
+
|
|
621
645
|
[routes."powershell-code-change"]
|
|
622
646
|
category = "general_code"
|
|
623
647
|
route_type = "primary"
|
|
@@ -1176,6 +1200,12 @@ route_type = "primary"
|
|
|
1176
1200
|
priority = 85
|
|
1177
1201
|
applies_to_reasons = ["ui_change", "code_change", "behavior_change", "public_api_change", "data_change", "security_change", "privacy_change", "performance_change", "test_change", "docs_change", "migration_change", "package_metadata_change", "release_risk"]
|
|
1178
1202
|
|
|
1203
|
+
[routes."threejs-code-change"]
|
|
1204
|
+
category = "ui_assets"
|
|
1205
|
+
route_type = "primary"
|
|
1206
|
+
priority = 85
|
|
1207
|
+
applies_to_reasons = ["ui_change", "code_change", "behavior_change", "public_api_change", "data_change", "security_change", "privacy_change", "performance_change", "test_change", "docs_change", "migration_change", "package_metadata_change", "release_risk"]
|
|
1208
|
+
|
|
1179
1209
|
[routes."react-code-change"]
|
|
1180
1210
|
category = "ui_assets"
|
|
1181
1211
|
route_type = "primary"
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
mustflow_doc: skill.skill-authoring
|
|
3
3
|
locale: en
|
|
4
4
|
canonical: true
|
|
5
|
-
revision:
|
|
5
|
+
revision: 11
|
|
6
6
|
lifecycle: mustflow-owned
|
|
7
7
|
authority: procedure
|
|
8
8
|
name: skill-authoring
|
|
9
|
-
description: Apply this skill when creating or maintaining `.mustflow/skills/*/SKILL.md` procedures and `.mustflow/skills/INDEX.md` routes.
|
|
9
|
+
description: Apply this skill when creating or maintaining logically rigorous `.mustflow/skills/*/SKILL.md` procedures and `.mustflow/skills/INDEX.md` routes.
|
|
10
10
|
metadata:
|
|
11
11
|
mustflow_schema: "1"
|
|
12
12
|
mustflow_kind: procedure
|
|
@@ -30,6 +30,7 @@ Create narrow, repeatable mustflow skill procedures without turning skills into
|
|
|
30
30
|
- A `.mustflow/skills/<name>/SKILL.md` file is created, renamed, split, removed, or substantially changed.
|
|
31
31
|
- `.mustflow/skills/INDEX.md` needs a new or updated route for a skill.
|
|
32
32
|
- A skill needs clearer use conditions, exclusion conditions, required inputs, command intent references, verification, or failure handling.
|
|
33
|
+
- A skill contains broad, conditional, exception-bearing, authority-sensitive, or completion claims whose logical scope needs review.
|
|
33
34
|
- A broad prompt, checklist, or outside recommendation needs to be adapted into mustflow's skill format.
|
|
34
35
|
|
|
35
36
|
<!-- mustflow-section: do-not-use-when -->
|
|
@@ -47,6 +48,10 @@ Create narrow, repeatable mustflow skill procedures without turning skills into
|
|
|
47
48
|
- Existing `.mustflow/skills/INDEX.md` and nearby skill documents.
|
|
48
49
|
- `.mustflow/config/commands.toml` command intent names relevant to verification.
|
|
49
50
|
- Any repository evidence showing that the task is repeatable and not better handled by an existing skill.
|
|
51
|
+
- Nearby rules that can require, forbid, narrow, override, or create exceptions to the proposed procedure.
|
|
52
|
+
- The selected repository boundary for every command intent or verification claim, including any
|
|
53
|
+
explicit parent-owned dependency.
|
|
54
|
+
- At least one representative positive case and one boundary or counterexample for material rules.
|
|
50
55
|
- Canonical source locale, localization policy, and template metadata when the skill is part of an installed template.
|
|
51
56
|
|
|
52
57
|
<!-- mustflow-section: preconditions -->
|
|
@@ -69,19 +74,34 @@ Create narrow, repeatable mustflow skill procedures without turning skills into
|
|
|
69
74
|
2. Search existing skills before adding a new one. Prefer updating a matching skill over creating overlapping procedures.
|
|
70
75
|
3. Use a stable folder name and matching frontmatter `name`. Set `mustflow_doc` to `skill.<name>`, `metadata.mustflow_schema` to `"1"`, `metadata.mustflow_kind` to `procedure`, `metadata.pack_id` to the package namespace, and `metadata.skill_id` to `<pack_id>.<name>`.
|
|
71
76
|
4. Write the standard sections: Purpose, Use When, Do Not Use When, Required Inputs, Preconditions, Allowed Edits, Procedure, Postconditions, Verification, Failure Handling, and Output Format.
|
|
72
|
-
5.
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
5. Normalize material rules before accepting the draft.
|
|
78
|
+
- Rewrite each material rule mentally as `conditions -> required, allowed, or forbidden action -> observable result`. Keep the prose natural, but make the condition, modality, actor, scope, and result unambiguous.
|
|
79
|
+
- Distinguish a necessary condition from a sufficient condition. Do not infer the converse: a rule saying `A requires B` does not say that every `B` permits or proves `A`.
|
|
80
|
+
- Name quantifier and scope when they matter: one item, every item, at least one item, only configured items, the selected repository, the current platform, or another bounded set. Avoid `always`, `never`, `all`, `only`, and equivalent absolutes unless every permitted exception is excluded or explicitly subordinate to a higher-authority rule.
|
|
81
|
+
- Attach exceptions to the rule they narrow. State whether an exception waives a requirement, permits an action, or changes only reporting; do not let an exception silently authorize commands or erase safety constraints.
|
|
82
|
+
6. Run the logical consistency gate across Purpose, Use When, Do Not Use When, Required Inputs, Preconditions, Allowed Edits, Procedure, Postconditions, Verification, and Failure Handling.
|
|
83
|
+
- Check whether the same reachable condition both requires and forbids an action. Resolve the contradiction or state the higher-authority discriminator.
|
|
84
|
+
- Separate different authority dimensions instead of forcing them into one total order. Goal ownership, safety constraints, repository scope, command authority, evidence quality, and preferences can constrain the same action without being interchangeable.
|
|
85
|
+
- Check reachability and termination. Every required input may be present or missing; every verification may pass, fail, be unavailable, or be skipped; each material branch must lead to an action, handoff, bounded retry, or stop state.
|
|
86
|
+
- Attack universal and completion claims with a counterexample. Narrow or qualify any claim that one realistic permitted case can falsify.
|
|
87
|
+
- Require postconditions to be observable from named evidence. A procedure step, local test, workflow success, or report is not proof of a broader state unless the evidence actually covers that state.
|
|
88
|
+
- Resolve verification intent names against the repository being changed. A shared parent skill
|
|
89
|
+
does not impose parent-root verification on child-only work; require a parent check only when
|
|
90
|
+
parent-owned files, orchestration, artifacts, or contracts are direct inputs to the result.
|
|
91
|
+
7. Run the skill quality gate before accepting the draft: trigger is concrete, non-use boundaries are explicit, required inputs are observable, allowed edits are narrow, procedure steps are actionable, verification names configured intents, failure handling says what to do when evidence is missing, output format matches the evidence expected, overlap with nearby skills is controlled, logical branches terminate, and template impact is decided.
|
|
92
|
+
8. Reject broad advice disguised as a skill. A skill should not say only "be careful", "write better tests", "sync docs", or "think about security" unless it names a repeatable trigger, source files to inspect, allowed edits, verification, and reporting evidence.
|
|
93
|
+
9. Keep the procedure concrete and bounded. Include what to read, what to change, what to avoid, and what evidence to report.
|
|
94
|
+
10. Reference command intent names only. Do not include raw shell command blocks or claim that the skill authorizes command execution.
|
|
95
|
+
11. Update `.mustflow/skills/INDEX.md` with a compact route that includes trigger, required input, edit scope, risk, verification intents, and expected output.
|
|
96
|
+
12. If the skill is installed by a template, update the canonical skill copy plus installation metadata, package tests, and public docs that list installed files. Do not fan out routine skill edits into every localized skill copy by default; localized skill copies may be absent, and non-source template locales should fall back to the canonical source-locale skill text unless locale-specific skill text is intentionally maintained and translation review is available.
|
|
97
|
+
13. If a portable Agent Skills artifact is part of the task, create or validate it as a derived export, not as the mustflow-native canonical source. Use portable-only top-level fields and string-to-string metadata. A `gh skill publish --dry-run` check may validate the export artifact when available, but `gh skill publish --fix` must be limited to the export directory because it can remove installed provenance metadata and mustflow-native fields.
|
|
79
98
|
|
|
80
99
|
<!-- mustflow-section: postconditions -->
|
|
81
100
|
## Postconditions
|
|
82
101
|
|
|
83
102
|
- The expected output can be produced with clear evidence, executed command intents, skipped checks, and remaining risks.
|
|
84
103
|
- Any missing command intent, unknown input, or authority conflict is reported instead of hidden.
|
|
104
|
+
- Material rules have bounded scope, explicit exception behavior, reachable failure branches, and observable postconditions.
|
|
85
105
|
|
|
86
106
|
<!-- mustflow-section: verification -->
|
|
87
107
|
## Verification
|
|
@@ -100,6 +120,11 @@ If the skill changes tests or behavior-sensitive template output, also use the r
|
|
|
100
120
|
- If two skills overlap, tighten their use and non-use conditions or merge the duplicate procedure.
|
|
101
121
|
- If a needed command intent is missing, record the missing intent instead of inventing a command inside the skill.
|
|
102
122
|
- If the draft can be applied to almost any task, narrow the trigger or turn the material into workflow guidance instead of a skill.
|
|
123
|
+
- If a reachable condition both requires and forbids the same action, do not hide it behind priority language. Split authority dimensions, add the missing discriminator, or stop with an explicit conflict.
|
|
124
|
+
- If a universal or completion claim fails one realistic permitted counterexample, narrow the claim to the evidence actually established.
|
|
125
|
+
- If a branch can retry, wait, or defer without a bound or stop state, add a termination condition before accepting the skill.
|
|
126
|
+
- If a skill makes a child task depend on parent-root verification without naming a direct parent
|
|
127
|
+
dependency, remove the cross-root obligation.
|
|
103
128
|
- If translation confidence is low, keep the source skill authoritative and mark translations for review through template metadata.
|
|
104
129
|
|
|
105
130
|
<!-- mustflow-section: output-format -->
|
|
@@ -108,6 +133,7 @@ If the skill changes tests or behavior-sensitive template output, also use the r
|
|
|
108
133
|
- Skill files added, updated, renamed, or removed
|
|
109
134
|
- Skill index routes changed
|
|
110
135
|
- Quality gate result and overlap decision
|
|
136
|
+
- Logical consistency result, counterexamples checked, and material claims narrowed
|
|
111
137
|
- Command intents referenced
|
|
112
138
|
- Template or localization metadata updated
|
|
113
139
|
- Portable export validation result when relevant
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
mustflow_doc: skill.skill-refresh
|
|
3
3
|
locale: en
|
|
4
4
|
canonical: true
|
|
5
|
-
revision:
|
|
5
|
+
revision: 3
|
|
6
6
|
lifecycle: mustflow-owned
|
|
7
7
|
authority: procedure
|
|
8
8
|
name: skill-refresh
|
|
@@ -135,6 +135,11 @@ source freshness, routing metadata, helper-file alignment, and verification evid
|
|
|
135
135
|
- official vendor docs or repositories for product behavior;
|
|
136
136
|
- user-provided source text as snapshot-only when live refresh is unnecessary or unavailable.
|
|
137
137
|
Omit or date claims that cannot be checked.
|
|
138
|
+
- Record feature status separately from package or framework release status: stable,
|
|
139
|
+
experimental, beta, release candidate, prerelease, deprecated, removed, or
|
|
140
|
+
compatibility-only.
|
|
141
|
+
- Do not infer stability from presence in current docs or infer recommendation from a retained
|
|
142
|
+
compatibility option. Verify the status in the official feature, migration, or config source.
|
|
138
143
|
6. Decide runtime mode before editing frontmatter or fields. Keep mustflow-native metadata for
|
|
139
144
|
mustflow skills. For cross-runtime skills, separate portable guidance from Codex-native,
|
|
140
145
|
Claude-native, or other product-specific extensions instead of mixing incompatible fields.
|
|
@@ -199,6 +204,9 @@ source freshness, routing metadata, helper-file alignment, and verification evid
|
|
|
199
204
|
- Trigger and non-trigger wording is concrete, short enough to route reliably, and checked against
|
|
200
205
|
nearby skills.
|
|
201
206
|
- Runtime-specific behavior is either scoped to the target runtime or excluded from portable mode.
|
|
207
|
+
- Package release tracks and per-feature stability tracks are independently classified, so stable
|
|
208
|
+
releases do not silently promote experimental features and compatibility shims do not become
|
|
209
|
+
recommendations.
|
|
202
210
|
- Helper files, examples, routes, template copies, locale metadata, and package surfaces agree.
|
|
203
211
|
- External material is either rewritten as repository-native procedure, attributed where required,
|
|
204
212
|
or omitted.
|
|
@@ -243,6 +251,7 @@ package output, public docs, or release-sensitive template output changed.
|
|
|
243
251
|
- Skill refreshed
|
|
244
252
|
- Runtime mode and behavior contract preserved or changed
|
|
245
253
|
- Sources checked and stale claims omitted or dated
|
|
254
|
+
- Package or framework release track, per-feature status, and owning official source
|
|
246
255
|
- Semantic change classification
|
|
247
256
|
- Package files, helpers, examples, routes, and template surfaces synchronized
|
|
248
257
|
- Version impact decision
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
mustflow_doc: skill.source-freshness-check
|
|
3
3
|
locale: en
|
|
4
4
|
canonical: true
|
|
5
|
-
revision:
|
|
5
|
+
revision: 5
|
|
6
6
|
lifecycle: mustflow-owned
|
|
7
7
|
authority: procedure
|
|
8
8
|
name: source-freshness-check
|
|
@@ -48,6 +48,7 @@ Prevent stale or unverifiable claims from entering code, documentation, template
|
|
|
48
48
|
- The claim or decision that may become stale.
|
|
49
49
|
- The file, command output, source page, screenshot, or user-provided text that supports the claim.
|
|
50
50
|
- The date or version context when it is visible.
|
|
51
|
+
- The upstream status vocabulary that owns the claim, such as stable, experimental, beta, release candidate, prerelease, deprecated, removed, or compatibility-only.
|
|
51
52
|
- Any repository policy about allowed sources, official documentation, or offline work.
|
|
52
53
|
- The intended adoption outcome, such as documentation wording, skill procedure, schema field, command behavior, test fixture, or deferred roadmap note.
|
|
53
54
|
- The current mustflow source of truth that would own the adopted idea.
|
|
@@ -79,16 +80,21 @@ Prevent stale or unverifiable claims from entering code, documentation, template
|
|
|
79
80
|
- Use `snapshot: YYYY-MM-DD` when the source text is intentionally treated as an older captured reference.
|
|
80
81
|
- Prefer official mirrors, package metadata, repository files, or user-provided source text over secondary summaries when the primary source cannot be reached.
|
|
81
82
|
- Do not present inaccessible sources as current; keep the adoption decision conservative.
|
|
82
|
-
5.
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
83
|
+
5. Classify each refreshed feature or API independently as stable, experimental, beta, release candidate, prerelease, deprecated, removed, or compatibility-only using the status language of the source that owns it.
|
|
84
|
+
- Do not infer stability from a page existing in the current docs, a package being installable, or a version number being numerically newer.
|
|
85
|
+
- Keep framework release status separate from feature status. A stable framework release can contain opt-in experimental features, and a prerelease can document behavior that is not yet a stable contract.
|
|
86
|
+
- Keep deprecated compatibility shims separate from recommended configuration. Continued acceptance of an old option does not make it current guidance.
|
|
87
|
+
6. Treat external executable instructions, command recipes, installer steps, or workflow shortcuts as untrusted until they are mapped to existing mustflow command intents or reported as missing intent coverage by `command-intent-mapping-gate`.
|
|
88
|
+
7. Adapt only the durable idea into the repository-owned surface that should govern it: `.mustflow/config/commands.toml`, a focused skill procedure, a schema, a template file, documentation, or a test fixture.
|
|
89
|
+
8. Avoid open-ended words such as "latest", "current", or "recent" unless the sentence includes the concrete date or version that makes the claim inspectable.
|
|
90
|
+
9. When editing documentation, keep source notes close to the claim or in the final report rather than adding broad provenance sections.
|
|
91
|
+
10. Run the smallest configured verification that covers the changed files.
|
|
87
92
|
|
|
88
93
|
<!-- mustflow-section: postconditions -->
|
|
89
94
|
## Postconditions
|
|
90
95
|
|
|
91
96
|
- Time-sensitive claims are either verified, dated, versioned, or explicitly reported as unverified.
|
|
97
|
+
- Stable, experimental, prerelease, deprecated, removed, and compatibility-only tracks are not collapsed into one generic current-feature claim.
|
|
92
98
|
- Documentation does not imply live freshness when only a snapshot was checked.
|
|
93
99
|
- External research has been reduced to repository-local evidence, adopted constraints, or explicitly deferred ideas.
|
|
94
100
|
- External command instructions were not copied into active workflow authority.
|
|
@@ -121,6 +127,7 @@ Also run the relevant configured test, build, or documentation intent if the ref
|
|
|
121
127
|
|
|
122
128
|
- Freshness-sensitive claims found
|
|
123
129
|
- Source or version checked
|
|
130
|
+
- Per-feature status and owning official source: stable, experimental, beta, release candidate, prerelease, deprecated, removed, compatibility-only, or unverified
|
|
124
131
|
- Research evidence, recommendation, and executable-instruction split
|
|
125
132
|
- Adoption target or deferred decision
|
|
126
133
|
- Wording changed or claim left conservative
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
mustflow_doc: skill.svelte-code-change
|
|
3
3
|
locale: en
|
|
4
4
|
canonical: true
|
|
5
|
-
revision:
|
|
5
|
+
revision: 4
|
|
6
6
|
lifecycle: mustflow-owned
|
|
7
7
|
authority: procedure
|
|
8
8
|
name: svelte-code-change
|
|
@@ -48,7 +48,7 @@ Preserve Svelte component reactivity, SvelteKit SSR/server/client execution mode
|
|
|
48
48
|
## Required Inputs
|
|
49
49
|
|
|
50
50
|
- Package metadata, Svelte config, Vite config, TypeScript config, route segment files, hooks, app types, stores/runes/context, form schema, adapter config, package export metadata, and tests.
|
|
51
|
-
- Svelte and SvelteKit version tracks, route data source, secrecy, request scope, mutation type, serialization requirement, SSR/client boundary, browser dependency, state owner, and adapter target.
|
|
51
|
+
- Svelte and SvelteKit version tracks, feature stability status, route data source, secrecy, request scope, mutation type, serialization requirement, SSR/client boundary, browser dependency, state owner, and adapter target.
|
|
52
52
|
- Imports from `$lib/server`, `*.server.*`, `$env/static/private`, `$env/dynamic/private`, DB/filesystem/server SDK modules, cookies, auth headers, `event.locals`, `$app/state`, `$app/navigation`, `$app/forms`, and browser-only libraries.
|
|
53
53
|
- Official or repository-local source evidence before preserving exact latest-version, release-date, Node/Vite requirement, adapter behavior, or compiler behavior claims.
|
|
54
54
|
- Configured verification intents.
|
|
@@ -60,6 +60,7 @@ Preserve Svelte component reactivity, SvelteKit SSR/server/client execution mode
|
|
|
60
60
|
- Classify every data access by origin, secrecy, request scope, mutation, browser dependency, serialization, invalidation dependency, and adapter support before choosing a SvelteKit file.
|
|
61
61
|
- Treat universal route files as server-executed and browser-executed until proven otherwise.
|
|
62
62
|
- Refresh official package or vendor sources before preserving exact "latest", Node/Vite minimum, adapter, or release-note claims; otherwise keep those facts out of durable skill text or mark them as snapshot-only in the report.
|
|
63
|
+
- Classify version-sensitive features as stable, experimental, deprecated, removed, or prerelease before recommending them. Presence in current official docs does not by itself prove stable support.
|
|
63
64
|
|
|
64
65
|
<!-- mustflow-section: allowed-edits -->
|
|
65
66
|
## Allowed Edits
|
|
@@ -99,7 +100,15 @@ Preserve Svelte component reactivity, SvelteKit SSR/server/client execution mode
|
|
|
99
100
|
22. Treat props as parent-owned. Use callback props for changes and `$bindable` only for narrow form-control-like two-way APIs. Preserve wrapper binding chains or convert them to explicit callbacks.
|
|
100
101
|
23. In Svelte 5, treat DOM event handlers as props. When spreading rest props through wrappers, intentionally compose external handlers with internal policy instead of relying on spread order.
|
|
101
102
|
24. Treat snippets as typed render callbacks. Require optional snippet guards, pass row or slot-like data as parameters, and avoid hidden parent-state capture in reusable library components.
|
|
102
|
-
25.
|
|
103
|
+
25. In the official-source snapshot checked on 2026-07-11, SvelteKit remote functions were
|
|
104
|
+
experimental. Refresh the installed track's current official status before every adoption; if
|
|
105
|
+
it remains experimental, do not replace stable `load`, form action, or endpoint contracts
|
|
106
|
+
merely because remote functions appear in the docs. When a project opts in, verify every opt-in
|
|
107
|
+
documented for the installed Svelte and SvelteKit tracks, including any separate compiler
|
|
108
|
+
opt-in required by the syntax actually used, plus `.remote.*` placement, server-only
|
|
109
|
+
execution, generated endpoint behavior, prerender constraints, cache and invalidation
|
|
110
|
+
semantics, and rollback to stable primitives.
|
|
111
|
+
26. Check SvelteKit, Vite, TypeScript, adapter, and package output as one toolchain boundary. Do not edit generated `.svelte-kit/tsconfig.json`; fix `svelte.config`, `kit.alias`, package exports, `types`, `svelte` conditions, `files`, and CSS side effects at their source.
|
|
103
112
|
|
|
104
113
|
<!-- mustflow-section: data-boundary-policy -->
|
|
105
114
|
## Data Boundary Policy
|
|
@@ -166,6 +175,7 @@ When SSR breaks, inspect in this order:
|
|
|
166
175
|
|
|
167
176
|
- Server/client and SSR boundaries are explicit.
|
|
168
177
|
- Route, load, action, endpoint, invalidation, and streaming behavior are clear.
|
|
178
|
+
- Experimental remote-function usage is explicitly opted in, version-checked, and justified against stable load, action, and endpoint alternatives.
|
|
169
179
|
- State owner, derived/effect behavior, props ownership, snippets, and binding behavior are clear.
|
|
170
180
|
- Forms remain progressive unless intentionally changed.
|
|
171
181
|
- Private data stays server-only and serialized data is intentionally minimal.
|
|
@@ -185,7 +195,7 @@ Use configured oneshot command intents when available:
|
|
|
185
195
|
- `docs_validate_fast`
|
|
186
196
|
- `mustflow_check`
|
|
187
197
|
|
|
188
|
-
Report missing Svelte check, SSR render, hydration, form action, browser, adapter, package, or preview-mode verification intents when relevant.
|
|
198
|
+
Report missing Svelte check, SSR render, hydration, form action, remote-function, browser, adapter, package, or preview-mode verification intents when relevant.
|
|
189
199
|
|
|
190
200
|
<!-- mustflow-section: failure-handling -->
|
|
191
201
|
## Failure Handling
|
|
@@ -196,13 +206,14 @@ Report missing Svelte check, SSR render, hydration, form action, browser, adapte
|
|
|
196
206
|
- If server-only imports leak into universal/client files, move the boundary instead of adding runtime guards.
|
|
197
207
|
- If request-local data is stored globally, move it to server load, actions, context, or persistent storage with user scoping.
|
|
198
208
|
- If exact framework, adapter, Vite, Node, or release claims cannot be refreshed from official sources, omit them from durable skill text and report them as unverified snapshot context.
|
|
209
|
+
- If remote functions or another experimental feature are proposed without current official stability evidence and explicit project opt-in, keep the stable load, action, or endpoint path and report the experiment as deferred.
|
|
199
210
|
- If streaming, hydration, adapter output, package exports, or preview-mode behavior cannot be verified by configured intents, report the missing runtime smoke coverage.
|
|
200
211
|
|
|
201
212
|
<!-- mustflow-section: output-format -->
|
|
202
213
|
## Output Format
|
|
203
214
|
|
|
204
215
|
- Boundary checked
|
|
205
|
-
- SSR/server/client, route, load, action, invalidation, and streaming notes
|
|
216
|
+
- SSR/server/client, route, load, action, remote-function, invalidation, and streaming notes
|
|
206
217
|
- Runes, state, props, snippet, binding, and accessibility notes
|
|
207
218
|
- Adapter, Vite, TypeScript, and package-output notes when touched
|
|
208
219
|
- Files changed
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
mustflow_doc: skill.tauri-code-change
|
|
3
3
|
locale: en
|
|
4
4
|
canonical: true
|
|
5
|
-
revision:
|
|
5
|
+
revision: 5
|
|
6
6
|
lifecycle: mustflow-owned
|
|
7
7
|
authority: procedure
|
|
8
8
|
name: tauri-code-change
|
|
@@ -64,6 +64,7 @@ Treat the WebView as low trust and the Rust/native side as high authority. Front
|
|
|
64
64
|
- Identify Tauri major version and permission model before editing.
|
|
65
65
|
- Treat every frontend-provided path, URL, command argument, channel, token, or feature flag as untrusted.
|
|
66
66
|
- Determine which window or webview receives each capability.
|
|
67
|
+
- For Tauri v2, treat application commands registered only with `invoke_handler` as reachable from every window and webview by default. When capability-enforced access is required, declare app commands through `tauri_build::AppManifest::commands`, create explicit app-command permissions, and grant them only to intended capability targets.
|
|
67
68
|
- Before widening any capability, write the exact native action being enabled: window label, webview label, command name, plugin command, input fields, allowed path or URL, and why a narrower existing permission cannot satisfy the feature.
|
|
68
69
|
|
|
69
70
|
<!-- mustflow-section: allowed-edits -->
|
|
@@ -181,7 +182,7 @@ Reject or revise a change when:
|
|
|
181
182
|
- Updater endpoint, public key, proxy, headers, authorization, TLS mode, downgrade behavior, or arbitrary channel is renderer-controlled.
|
|
182
183
|
- A Rust command accepts untyped JSON, broad maps, raw paths, raw URLs, raw shell args, or action strings without immediate Rust-side normalization.
|
|
183
184
|
- Frontend validation is presented as the authoritative security check.
|
|
184
|
-
- A command is registered without checking which windows or webviews can reach it.
|
|
185
|
+
- A command is registered without checking which windows or webviews can reach it, or a Tauri v2 `invoke_handler` command is assumed to inherit capability restrictions without an explicit app-command permission declaration.
|
|
185
186
|
- The response returns sensitive paths, tokens, command output, update metadata, or system details without a scoped need.
|
|
186
187
|
- A packaged blank-screen fix widens CSP with wildcard script or connect sources, remote script origins, `unsafe-eval`, or broad protocol allowances instead of proving the generated bootstrap and IPC requirements.
|
|
187
188
|
|