miniapp-official-scaffold-alignment

miniapp-official-scaffold-alignment is a skill for Codex from Sun-sunshine06/miniprogram-skills. It costs 69 tokens per session (473 once invoked), scanned A, original, MIT.

A review procedure for the starting structure of a WeChat Mini Program, including its configuration, pages, components, and TypeScript setup.

In plain words
What is it for?
It helps check the project root, Mini Program code root, configuration files, page paths, component files, and TypeScript assumptions against WeChat’s platform rules.
Why use it?
It catches layout and configuration problems before feature work makes them harder to fix.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Codex.

Good fit It helps check the project root, Mini Program code root, configuration files, page paths, component files, and TypeScript assumptions against WeChat’s platform rules.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sun-sunshine06/miniprogram-skills/miniapp-official-scaffold-alignment
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.

Any agent
npx skills add Sun-sunshine06/miniprogram-skills --skill miniapp-official-scaffold-alignment
Clone the repo
git clone --depth 1 https://github.com/Sun-sunshine06/miniprogram-skills

Made for: Codex.

Wrote 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.

agentmods badge for miniapp-official-scaffold-alignment

README.md
[![agentmods](https://agentmods.dev/badge/skills/sun-sunshine06/miniprogram-skills/miniapp-official-scaffold-alignment/github.svg)](https://agentmods.dev/skills/sun-sunshine06/miniprogram-skills/miniapp-official-scaffold-alignment)
Your own site
<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.

agentmods 80×15 button for miniapp-official-scaffold-alignment

Your own site · 80×15
<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>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 473 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00069 $0.00473
Opus 5 $0.00034 $0.00236
Sonnet 5 $0.00014 $0.00095
Haiku 4.5 $0.00007 $0.00047

Measured 11d ago against content hash ac0d15442de2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

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.

skills/miniapp-official-scaffold-alignment/SKILL.md · 56 lines

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

  1. Read references/official-scaffold-baseline.md.
  2. Identify the repository root and the miniapp code root.
  3. Check project.config.json, app.json, page paths, component file sets, and TypeScript assumptions.
  4. 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.json point at the intended miniapp code root?
  • Does app.json.pages match real page folders?
  • Does every page have matching logic, structure, style, and config files?
  • Do custom components declare component: true and 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:

  1. officially valid parts
  2. missing or risky parts
  3. recommended scaffold decision
  4. first edit to make

Resources

  • references/official-scaffold-baseline.md: official rule summary and practical implications
  • references/example-prompts.md: reusable trigger examples and evaluation notes
Files

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.

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. 11d ago First seen · 56 lines · 69 tokens per session scan A ac0d15442de2

Subscribe to this mod's changes

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.

Related

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…

patrickserrano/lacquer · 98 tokens

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.

patrickserrano/lacquer · 50 tokens

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…

patrickserrano/lacquer · 154 tokens

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.

bish-x/bx-dev-skill · 57 tokens

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…

bighardperson/computer-science-skills-collection · 83 tokens

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.

ShawnPana/phone-harness · 40 tokens