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.
npx skills add Sun-sunshine06/miniprogram-skills --skill miniapp-official-scaffold-alignmentgit clone --depth 1 https://github.com/Sun-sunshine06/miniprogram-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/sun-sunshine06/miniprogram-skills/miniapp-official-scaffold-alignment)<a href="https://agentmods.dev/skills/sun-sunshine06/miniprogram-skills/miniapp-official-scaffold-alignment"><img src="https://agentmods.dev/badge/skills/sun-sunshine06/miniprogram-skills/miniapp-official-scaffold-alignment/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/sun-sunshine06/miniprogram-skills/miniapp-official-scaffold-alignment"><img src="https://agentmods.dev/badge/skills/sun-sunshine06/miniprogram-skills/miniapp-official-scaffold-alignment.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00069 | $0.00473 |
| Opus 5 | $0.00034 | $0.00236 |
| Sonnet 5 | $0.00014 | $0.00095 |
| Haiku 4.5 | $0.00007 | $0.00047 |
Grade A, and why
miniapp-official-scaffold-alignment 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 11d 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.
What it actually says
Miniapp Official Scaffold Alignment
Overview
Use this skill when scaffold correctness is the blocker. Validate the repository shape before changing pages, components, or build settings.
Quick Start
- Read
references/official-scaffold-baseline.md. - Identify the repository root and the miniapp code root.
- Check
project.config.json,app.json, page paths, component file sets, and TypeScript assumptions. - Report what is already valid, what is incomplete or risky, and the smallest next scaffold decision.
Core Rules
- Use only official WeChat documentation for normative claims.
- Prefer the smallest runnable scaffold that matches the project shape.
- Distinguish repository root from miniapp code root.
- If the repo authors in TypeScript, make the compiler-plugin path explicit.
- Require matching path-and-name file quartets for pages and components.
- Write "not yet specified" instead of inventing missing spec details.
Review Checklist
- Does
project.config.jsonpoint at the intended miniapp code root? - Does
app.json.pagesmatch real page folders? - Does every page have matching logic, structure, style, and config files?
- Do custom components declare
component: trueand have matching file sets? - Is TypeScript support explicit rather than implied?
- Does the repo layout leave room for sibling folders such as
docs/, backend code, or tooling?
Output Format
When answering, keep the result short and action-oriented:
- officially valid parts
- missing or risky parts
- recommended scaffold decision
- first edit to make
Resources
references/official-scaffold-baseline.md: official rule summary and practical implicationsreferences/example-prompts.md: reusable trigger examples and evaluation notes
What ships with it
3 files 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.
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.
- 11d ago First seen · 56 lines · 69 tokens per session scan A ac0d15442de2
miniapp-official-scaffold-alignment is a skill published in the GitHub repository Sun-sunshine06/miniprogram-skills (22 stars, last pushed 1mo ago), licensed MIT. It adds 69 tokens to every session and 473 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.
Other skills, from other repositories
swiftui-expert-skill
Use when writing, reviewing, or refactoring SwiftUI code — state management, view composition, performance, macOS-specific APIs, or iOS 26+ Liquid Glass adoption. Also triggers whenever an Xcode Instruments .trace file is referenced (to analyse it) or the user asks to record a new trace — attach to a running app…
swiftui-liquid-glass
Implement, review, or improve SwiftUI features using the iOS 26+ Liquid Glass API. Use when asked to adopt Liquid Glass in SwiftUI UI, refactor to Liquid Glass, or review Liquid Glass usage.
macos-development
Use when building or debugging a macOS app and the request involves — (1) AppKit/SwiftUI interop or modernizing AppKit code, (2) App Sandbox / file-access entitlement errors, especially "works in Xcode, fails in TestFlight", (3) menu bar commands, keyboard shortcuts, or a menu item stuck disabled, (4) multi-window…
vercel-react-native-skills
React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.
flutter-dev
Flutter cross-platform development guide covering widget patterns, Riverpod/Bloc state management, GoRouter navigation, performance optimization, and platform-specific implementations. Includes const optimization, responsive layouts, testing strategies, and DevTools profiling. Use when: building Flutter apps…
phone-harness
Control the user's phone — iPhone through the Mac's iPhone Mirroring window, or an Android over adb: open apps, tap, type, swipe, read the screen.