agentsclimarketplace

Stellaris modding

Skill kongyo2/stellaris-Skill/stellaris-modding

Use when creating, editing, or reviewing Stellaris mods and you need self-contained guidance on Clausewitz/PDX script structure, file placement, scopes, triggers, effects, on_actions, events, technologies, buildings, districts, POP/jobs, traits, governments, relics, archaeology, decisions, special projects, situations, megastructures, components, zones, or vanilla-aligned conventions informed by CWTools and vanilla Stellaris.From its SKILL.md

Install
npx -y skills add kongyo2/stellaris-Skill --skill stellaris-modding

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

5.3 KB, ~1.8k tokens by cl100k_base, as published. Nobody here has run it

Stellaris Modding

Stellaris mod 制作のための documents-only な self-contained reference skill。 bundled references/ だけで判断できるように構成している。ローカル環境の追加資料、補助ツール、外部サイトの存在は前提にしない。ユーザーが別途ファイルを与えた場合だけ、それを追加の一次資料として扱う。

基本方針

  1. まず対象ドメインを決める。
  2. そのドメインに最も近い reference を先に読む。
  3. スコープや論理条件が怪しいときは、必ず基礎 reference に戻る。
  4. 構文上は書けそうでも、実運用はバニラ慣習に従う。

読み始め

基礎

トピックリファレンス用途
PDXスクリプト基礎1.基礎概念構文、エンコーディング、コメント、変数
条件式と論理演算2.条件式と論理演算AND/OR/NOT/NOR/NAND、calc_true_if
スコープ3.スコープrootfromprev、主要スコープ遷移

主要コンテンツ

トピックリファレンス用途
アノマリー4.アノマリーanomaly category、on_success、anomaly event
イベント5.イベントevent type、optionafter、継承
テクノロジー6.テクノロジーpotentialweight_modifiertechnology_swap
オンアクション7.オンアクションeventsrandom_events、スコープ一覧
エフェクト8.エフェクト制御構文、生成、変数、反復、scripted effect
政府9.政府authority、civic、origin、government
遺物・考古学10.遺物・考古学サイトrelic、artifact action、archaeological site
POPと職業11.POPと職業pop category、job、swappable_data、経済カテゴリ連携
特性12.特性species trait、leader trait、replace_traits
惑星地形と惑星補正13.惑星地形と惑星補正deposit、blocker、planet modifier
建造物とディストリクト14.建造物とディストリクトbuilding、district、building_setsconvert_to
惑星ディシジョン15.惑星ディシジョンpotentialalloweffectresources
スペシャルプロジェクト16.スペシャルプロジェクトrequirementson_successabort_trigger

追加で読むべき reference

トピックリファレンス読むタイミング
実装規約と上書き原則17.実装規約と上書き原則どのファイルに置くか、どこまで上書きするか迷うとき
shared logic の設計18.scripted_effects・scripted_triggers・inline_scripts共通化、再利用、パラメータ化を考えるとき
経済カテゴリと zones19.経済カテゴリ・triggered_modifier・zonesjobs/buildings/districts の出力や 4.0 zone 設計を触るとき
高位システムの入口20.高度システム索引situation、megastructure、component、system initializer を触るとき

実務ルール

  • scopetriggereffect が曖昧なら、先に基礎 reference を読む。
  • 頻繁に発火するイベントは is_triggered_only = yespre_triggers を優先する。
  • MTTH や重いポーリングより、on_action、遅延イベント、shared logic を優先する。
  • 似た定義を複製する前に、convert_totechnology_swapswappable_datascripted_effectsscripted_triggersinline_script で吸収できないか考える。
  • jobs/buildings/districts の出力変更は、個別定義だけでなく経済カテゴリの継承も確認する。
  • triggered_*_modifier はツールチップ表示と実適用がズレやすいので、必要なら custom_tooltip で補足する。
  • 外部資料がない限り、この skill では「bundled references に書いてあること」だけを根拠に結論を組み立てる。

What ships with it: 20 files

262.4 KB alongside SKILL.md

Keep looking

Skills are one crate of 326,736. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.