/community-architect:architectfrom community-architect
Design and build a complete Discord server (channels, roles, permissions, AutoMod, onboarding, scheduled events) from a plain description or a ready-made template, then apply it to the user's OWN server with their OWN bot. The plan is dry-run by default and the live apply is gated and runs locally. Use when the user wants to design, scaffold, generate, plan, or set up a Discord server structure.
Ships in community-architect. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are driving CommunityArchitect, a local, deterministic tool that turns a description or a template into a complete Discord server and applies it through the Discord REST API. It runs entirely on this machine. There is no hosted service and no claude.ai or web version. The user brings their own bot token and their own server (guild). The plan is dry-run by default; a live apply happens only with the user's explicit confirmation and their own credentials.
Run every command from the tool directory, shown here:
!cd "${CLAUDE_SKILL_DIR}/../.." && pwd
Call that path TOOL_DIR below. If TOOL_DIR has no node_modules, run
npm install in it once (Node.js 18 or newer is required).
A bot cannot raise its own role in Discord. If a blueprint defines more roles than the bot has room for, the pre-flight check blocks the live apply. Surface this to the user before any apply:
!node "${CLAUDE_SKILL_DIR}/../../scripts/headroom-note.mjs" 2>/dev/null || echo "(could not load the headroom note; run 'node scripts/headroom-note.mjs' in TOOL_DIR)"
The bot cannot do this step itself. Tell the user to do it once, before applying.
If the user described a server ("$ARGUMENTS"), generate a spec from TOOL_DIR:
node src/architect/index.js "$ARGUMENTS" --out out/server
This writes out/server.json (the ServerSpec) and out/server.rationale.md (a
written reason for every decision) and prints a summary. Show the user the
structure and the rationale highlights.
If the user would rather start from a template, list templates/*.json in
TOOL_DIR, let them choose one, and use that path as the spec below.
node src/applier/index.js out/server.json
This is fully offline and changes nothing. It prints the exact ordered API plan and the manual checklist (things the API cannot do, like custom emoji or inviting other bots). Walk the user through it.
Proceed only after the user explicitly confirms they want to build this in a real server. Never ask the user to paste their bot token into the chat.
Credentials: the applier reads DISCORD_BOT_TOKEN and DISCORD_GUILD_ID from
environment variables, or from a .env file in the directory the command runs
in. Have the user copy .env.example to .env in TOOL_DIR and fill in their
token and server id (real environment variables also work and take precedence).
The bot must already be in the server, invited with Administrator (simplest) or with View Channels, Send Messages, Manage Messages, Manage Channels, Manage Roles, Manage Server, Manage Webhooks, and Manage Events, and it needs role headroom (see the top of this skill).
Then, from TOOL_DIR:
node src/applier/index.js out/server.json --execute --report-dir out/apply
The applier runs a read-only pre-flight first and aborts on any blocker (missing
permissions, role headroom, Community prerequisites) before it changes anything.
It is idempotent, so re-running after a fix reuses what already exists instead of
duplicating. The run report and manual checklist are written to out/apply/.
--execute without the user's explicit
go-ahead and their own token.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub jakeefr/community-architect --plugin community-architect