fkit-theme

Instructions for maintaining FlutterKit themes, including dark mode, color presets, saved settings, system-bar appearance, and translated text.

In plain words
What is it for?
Use them to change colors or dark mode, restore saved theme and language choices, synchronize system bars, add translations, or update the theme demonstration screen.
Why use it?
They keep theme and language changes flowing through the application correctly instead of scattering storage and hard-coded text across screens.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/joker-x-dev/flutterkit/fkit-theme
Any agent
npx skills add Joker-x-dev/FlutterKit --skill fkit-theme
Clone the repo
git clone --depth 1 https://github.com/Joker-x-dev/FlutterKit

Made for: Claude Code, Codex.

Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 442 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00058 $0.00442
Opus 5 $0.00029 $0.00221
Sonnet 5 $0.00012 $0.00088
Haiku 4.5 $0.00006 $0.00044

Measured 2d ago against content hash 3df5bd74b6d4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

fkit-theme scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/fkit-theme/SKILL.md · 37 lines

What it actually says

FKit Theme

必读资料

先阅读 AGENTS.md,再读取:

  • docs/flutter-kit/框架核心/theme.md
  • docs/flutter-kit/框架核心/dark-mode.md
  • docs/flutter-kit/框架核心/localization.md
  • docs/flutter-kit/框架核心/design-system.md
  • docs/tdesign-flutter/全局配置/深色模式.md

核对 ThemeInitializerApplicationmain.dartThemeColorPreset、主题 Repository/DataSource 和现有主题测试。

主题工作流

  1. assets/json/ 中的主题 JSON 与 ThemeColorPreset 确认浅色、深色名称和回退关系。
  2. 保持 ThemeInitializer → Application → Obx → TDesign/Material/AppTheme → System UI 的现有更新链路。
  3. 通过 Repository 持久化主题模式、颜色和语言;不要在 View 直接写存储。
  4. 使用语义颜色与字体,不为深色模式复制两套业务 Widget。
  5. 修改主题 token 时验证所有引用方、预览和 ThemeDemo。

国际化工作流

  1. 公共文案放 Core localization,业务文案放对应 Feature localization。
  2. 同步 key、中文、英文映射和聚合注册,避免页面硬编码可翻译文案。
  3. 保持接口返回文本和动态业务内容不进入静态翻译表。

验证

运行主题初始化、AppTheme、主题 Demo、语言响应性等相关测试。检查浅色、深色、跟随系统、颜色预设恢复、系统栏和 Preview,再执行静态分析与 git diff --check

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 37 lines · 58 tokens per session scan A 3df5bd74b6d4

Subscribe to this mod's changes

fkit-theme is a skill published in the GitHub repository Joker-x-dev/FlutterKit (108 stars, last pushed 1mo ago), licensed MIT. It adds 58 tokens to every session and 442 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

planning-with-files-ar

تخطيط مستمر قائم على الملفات لعمل وكلاء الذكاء الاصطناعي متعدد الخطوات. يحتفظ بملفات taskplan.md و findings.md و progress.md على القرص، وتحقن خطافات دورة الحياة سياق التخطيط المحدد للمشروع. تقرأ الاستعادة التلقائية ملفات تخطيط المشروع فقط. يمكن للأمر الصريح session-catchup.py --metadata فحص بيانات وصفية لجلسات الوكيل…

OthmanAdi/planning-with-files · 189 tokens

kl-consistency-test

Write, calibrate, and debug the prefill-vs-decode logprob (KL) consistency tests in sglang -- the two independent conditions a zero requires (every operator batch-invariant, and the two paths computing the same function), which helper separates them, how to pick a threshold once they hold, and how to localize a…

sgl-project/sglang · 108 tokens

i18n-localization

Internationalization and localization patterns. Detecting hardcoded strings, managing translations, locale files, RTL support.

vudovn/ag-kit · 27 tokens

dsh-web-documentation

Use when adding or editing dsh-web README files, docs, AGENTS.md instructions, user-facing configuration text, or bilingual documentation pairs.

zhu1090093659/dsh-web · 34 tokens

baoyu-youtube-transcript

Downloads YouTube video transcripts/subtitles and cover images by URL or video ID. Supports multiple languages, translation, chapters, and speaker identification. Caches raw data for fast re-formatting. Use when user asks to "get YouTube transcript", "download subtitles", "get captions", "YouTube字幕", "YouTube封面"…

JimLiu/baoyu-skills · 107 tokens

indication-dossier

Build a source-backed biomedical indication dossier. Use when a research task asks for disease biology, target rationale, patient segmentation, biomarkers, trials, drugs, competitive landscape, or translational evidence.

companion-inc/feynman · 43 tokens