Process discord suggestions

From deadlock-mod-manager/deadlock-mod-manager · View interactive version

Process discord suggestions is an AI agent skill from the GitHub repository deadlock-mod-manager/deadlock-mod-manager. Fetches forum suggestion threads from the Deadlock Mod Manager Discord via the user-discord-mcp, classifies each as MOD/SKIN_REQUEST, MOD_MANAGER_FEATURE, or OTHER, writes one markdown file per thread under .suggestions/ with author metadata, and applies the processed forum tag. Use when the user ru

How to use this skill

Skill file

Process Discord Suggestions (MCP)

End-to-end workflow for an agent with access to user-discord-mcp (call_mcp_tool with server user-discord-mcp). Read each tool’s JSON schema under the MCP tools/ folder before calling it.

Constants

| Key | Value |

| ---------------- | --------------------- |

| Processed tag ID | 1497626100849840250 |

Do not change this ID unless the server’s forum tag is recreated.

Prerequisite IDs

You need the guild (server) ID and the forum channel ID for the suggestions board.

Classification (exactly one per thread)

| Value | Meaning |

| --------------------- | ---------------------------------------------------------------------------------------------------------- |

| MOD/SKIN_REQUEST | In-game visuals, models, VPK/GameBanana content, sound packs, map/mod content for Deadlock itself. |

| MOD_MANAGER_FEATURE | DMM / Deadlock Mod Manager app: UI, install flow, API, Tauri, settings, mod library, sync, error handling. |

| OTHER | Off-topic, meta Discord, unparseable, or not fitting the two above (still export and tag if processed). |

Rules

Output layout (repository root)

Create the directory tree on first use:

.suggestions/
  mod-skin-request/     # maps to category MOD/SKIN_REQUEST
  mod-manager-feature/  # maps to category MOD_MANAGER_FEATURE
  other/                # maps to category OTHER

Files: one file per thread, path:

.suggestions/<subfolder>/{threadId}.md

Use the Discord thread (post) ID as the filename stem so re-runs do not duplicate.

File format

Each file is valid Markdown with YAML front matter, then the thread body for humans to edit later.

Front matter (required fields)

Body

  1. A single # heading with the thread title (same as title is fine).
  2. The text of the first message (starter post) as the main content.
  3. If follow-up messages add material constraints or acceptance criteria, add a ## Thread notes section with a short bulleted summary only when it changes meaning; do not dump full history by default to keep files reviewable.

Fetch workflow

  1. List threads: list_forum_posts with channelId (forum). If the result is known to be active-only, note that archived threads may be missing. Optionally list_active_threads with guildId to cross-check, then only process IDs that belong to the suggestions forum.
  2. Filter: For each candidate thread, determine if it is already “processed”:
  1. Read content: read_messages with channelId set to the thread ID, count as needed (max 100 per call; paginate with before if the thread is long; include enough to classify the _starter_ and optional notes for ## Thread notes).
  2. Classify using the table above; assign the category and target subfolder.
  3. Write the file under .suggestions/... as specified.
  4. Tag the thread: modify_forum_post with postId equal to the thread ID and tagIds a comma-separated list of tag snowflakes. Merging tags: the API sets the full set. If the listing response for the thread includes existing tag IDs, set tagIds to the union of those IDs and 1497626100849840250 (de-duplicated). If existing tags are unknown, prefer asking the user before applying a tag that might clear other tags; if the user has confirmed replace-with-processed-only is OK, you may set tagIds: "1497626100849840250" only.
  5. Idempotency: If a file for {threadId}.md already exists in the correct subfolder and the thread already has the processed tag, skip writing and re-tagging unless the user asked for a full refresh.

Ordering and rate limits

Process threads in a stable order (e.g. ascending thread_id or as returned). Space MCP calls reasonably; on failures, log which threadId failed and continue or retry that ID once.

Privilege note

modify_forum_post requires the bot account behind user-discord-mcp to have Manage Threads and permission to set forum tags in that channel. If tagging fails, still write the export file and report the error so a moderator can tag manually.

What not to do

Optional follow-up (not automatic)

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.