一键导入
contract-alias-audit
Verify @contracts subpaths stay in sync across the three alias sites the packaged DMG depends on.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Verify @contracts subpaths stay in sync across the three alias sites the packaged DMG depends on.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when writing, editing, polishing, or reviewing public-facing prose such as external emails, blog posts, website copy, social posts, newsletters, proposals, bios, press notes, or customer-facing docs; especially when the user says use my tone, match my tone, sound like me, use my voice, avoid AI-sounding writing, ChatGPT style, AI tells, em dashes, formulaic phrasing, corporate filler, or generic polished copy.
Audit a web UI with browser automation, chrome-devtools, viewport sweeps, screenshots, and axe accessibility evidence
Non-destructive visual upgrade of an existing React/web UI. Separates sacred logic from replaceable styling, applies all changes through a single load-last gold.css override so one import removal reverts everything, and gates completion on a functionality checklist. Use for "redesign this ui", "visual overhaul", "make this look designed". Do not use for backend work, logic changes, new features, or bug fixes.
API-first Android Google Play release workflow. Use when releasing, uploading, staging, or preparing an Android build for Play Console, including Capacitor apps, versionCode bumps, signed AAB creation, Play Developer Publishing API uploads, tracks, rollout, listings, store images, tester lists, and Play-console browser fallback flows.
Checkpointed browser workflow for first-time Apple App Store Connect and Google Play Console app setup. Use for creating new app records, Play Content rating, Data safety, app-content declarations, app access credentials, ASC app records, privacy nutrition labels, agreements/tax prompts, Resolution Center review replies, and console-only setup for a new white-label brand.
API-first iOS App Store/TestFlight release workflow. Use when releasing, uploading, submitting, or preparing an iOS build for TestFlight or App Store Connect, including Capacitor apps, version bumps, altool upload, ASC API build processing, export compliance, TestFlight group attachment, metadata, screenshots, or submit-for-review steps.
| name | contract-alias-audit |
| description | Verify @contracts subpaths stay in sync across the three alias sites the packaged DMG depends on. |
| triggers | ["/contract-alias-audit","contract alias sync","register-aliases drift"] |
| version | 1.0.0 |
| category | loop |
| effort | medium |
A guard loop for a packaging trap that has silently broken the DMG twice: tsc
path aliases are type-check-only and do not rewrite emitted JS, so a
@contracts/... subpath can typecheck and lint cleanly yet crash the packaged
app at runtime with Cannot find module.
@contracts/schemas/* and @contracts/types/* subpath resolves at runtime, not just at typecheck.tsconfig.json (renderer + test type-checking)tsconfig.electron.json (main-process type-checking)exactAliases map in src/main/register-aliases.ts (Node runtime resolver)vitest.config.ts — only if the subpath is imported from tests
Report any subpath missing from one or more sites.@contracts/schemas/* and @contracts/types/* import used across the codebase.A concise summary of subpaths checked, any out-of-sync sites, the exact entries needed to fix each, and any blockers.