Skip to content
Agentmart
Submit a tool

minigame-subpackage-rules

Validate and explain Cocos WeChat/Douyin minigame subpackage rules, keeping project-owned rule authority in profiles/v2/packages/project.json rather than…

Skill by FunplayAI

IndexedMIT★ 10
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/funplayai-minigame-subpackage-rules

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Validate and explain Cocos WeChat/Douyin minigame subpackage rules, keeping project-owned rule authority in profiles/v2/packages/project.json rather than build templates or release outputs.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Node.js package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/minigame-subpackage-rules

What's inside

Skill name
minigame-subpackage-rules
Description
Validate and explain Cocos WeChat/Douyin minigame subpackage rules, keeping project-owned rule authority in profiles/v2/packages/project.json rather than build templates or release outputs.
License
MIT
Instructions
47 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (2)

  • SKILL.md
  • validate-minigame-subpackages.mjs · scripts/

SKILL.md (first lines)

# Minigame Subpackage Rules

Use this skill when editing, validating, or explaining WeChat/Douyin minigame subpackage rules in a Cocos project.

## Source Of Truth

Project packaging config owns the rule:

```text
profiles/v2/packages/project.json
```

Default template:

```json
{
  "minigameSubpackages": {
    "wechatgame": { "groups": [] },
    "bytedance-mini-game": { "groups": [] }
  }
}
```

Empty `groups` means the default template exists but no real subpackage groups are configured yet. Do not call that "missing template."

## Workflow

1. Read `profiles/v2/packages/project.json` first.
2. Run the bundled validator:

```bash
node <path-to-this-skill>/scripts/validate-minigame-subpackages.mjs profiles/v2/packages/project.json --platform wechatgame
```

3. Use `--require-groups` only when the user is preparing an explicit subpackage packaging run.
4. Backfill missing default template fields only in `profiles/v2/packages/project.json`.
5. Keep WeChat and Douyin groups separate unless the user explicitly wants both platforms configured.

## Rules

- Edit only `minigameSubpackages.wechatgame.groups` or `minigameSubpackages["bytedance-mini-game"].groups`.
- Group roots must point under `assets/`, for example `db://assets/bundles/battle`.
- Do not author rules in `build-template/**/game.json`.
- Do not treat release outputs as project source of truth.
- Do not claim rules will affect packaging unless subpackage mode is explicitly enabled for that packaging run.

From FunplayAI/funplay-skill, MIT.

More from FunplayAI/funplay-skill

Signals

Stars
10
Forks
2
Open issues
0
Last commit (this folder)
Jun 2, 2026 (4 months ago)
Last release
May 22, 2026 (5 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from FunplayAI

Cite this page

minigame-subpackage-rules skill. Agent Mart. https://agentmart.dev/skills/funplayai-minigame-subpackage-rules (last updated 2026-10-24)