stellaris-validate
Catch Stellaris mod failures before launch.
- License 许可
- MIT
- 最近更新
- 2026-11-13
- Stars
- ★ 65
- Forks
- 0
01 前言 Front Matter
- name
- stellaris-validate
- description
- Catch Stellaris mod failures before launch.
03 SKILL.md 正文
Objective
Catch Stellaris mod failures before launch: encoding, namespaces, scope, and performance landmines. BOM violations and bracket imbalance are P0 hard failures.
1. Inputs
Ask the user for the mod repo root (contains src/), the Stellaris user dir for logs (usually ~/Documents/Paradox Interactive/Stellaris/), and the target namespace prefix [NS]. If paths aren't provided, stop and ask; never guess.
2. Encoding and Localisation (Hard Failures)
- Every
.ymlundersrc/localisation/**is UTF-8 with BOM. - Each file starts with
l_english:(or the language-appropriatel_x:). - Keys are
[NS]_...:0 "...", never missing:0.
3. Script Integrity (Silent Crashes)
- If a file crashes load with no clear error, assume
{}imbalance first. - Reject any
“ ”and‘ ’in.txt/.gui/.yml. - If a file contains
*_event = { ... }, requirenamespace = [NS]near the top.
4. Namespace Hygiene
- Events use
id = [NS].###; flags, variables, modifiers, and localisation keys use[NS]_.... - For a tweak, prefer
z_[NS]_*.txtsoft overrides over overwriting vanilla filenames.
5. Performance
- Reject
any_pop/every_pop/every_shipunder frequenton_actions(daily/monthly) and redesign; anything O(N) in a pulse becomes event-driven. - Order triggers cheapest to most expensive and short-circuit early.
Output
## STELLARIS VALIDATION REPORT: [Mod Name] ([NS])
### Encoding
- [ ] localisation BOM ok
- [ ] localisation headers ok
### Script Integrity
- [ ] no curly quotes
- [ ] event namespace ok
- [ ] bracket balance ok
### Namespace Hygiene
- [ ] IDs/flags/vars/modifiers are `[NS]_...`
- [ ] no hard overwrites unless explicitly approved
### Performance
- [ ] no pop/ship iterators on daily/monthly hooks
04 同仓库更多 Skills
workflow-runtime
Prove skill or workflow discovery, full-autonomy tool execution, and task-shaped materialization before assigning a CLI, extension, provider, or model to a workflow role.
workflow-reviewer
Review batched implementation output against the BOSS spec and evidence.
workflow-rescue
Resolve repeated workflow failures with a single decisive action.
workflow-orchestrator
Run risk-adaptive development, review, multi-agent, and release workflows with runtime preflight, bounded retries, liveness checks, isolated writers, and evidence-backed handoffs.
workflow-judger
Arbitrate repeated task failures and decide merge, rework, or escalation.
workflow-doctor
Validate active workflow state before any role acts on it.