From discussions
Post to, reply to, or render markdown-based discussion threads stored in a repo's `.discussions/` directory. Use when the user asks to start a topic, reply to a thread, render a discussion as a flat or threaded view, list active topics, initialize discussions in a repo, or interact with file-per-post async conversations in a git repository.
How this skill is triggered — by the user, by Claude, or both
Slash command
/discussions:discussionsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Procedural guide for an agent operating on `.discussions/` directories.
Procedural guide for an agent operating on .discussions/ directories.
Read PROTOCOL.md (sibling to this file) before performing any operation. It defines the directory layout, filename convention, frontmatter schemas, threading rules, identity rules, and invariants. This skill describes how; the protocol describes what. If they conflict, the protocol wins.
If the repo has no .discussions/ directory:
.discussions/.templates/AGENTS.md (sibling) to .discussions/AGENTS.md..gitignore doesn't exclude dot directories or .discussions/ specifically..discussions/<slug>/._topic.md with required frontmatter (see PROTOCOL.md for schema). Use status: open for new topics.date -u +"%Y-%m-%dT%H%M%S"created form (with colons): date -u +"%Y-%m-%dT%H:%M:%SZ"author to the current git committer's GitHub handle.openssl rand -hex 2.<filename-ts>-<author>-<rand4>.md.PROTOCOL.md). Add parent only when replying to a specific post. When you (an agent) are drafting the body, set agent to your harness or model identifier.> blockquotes when quoting an ancestor passage.author.Flat view:
.discussions/<topic>/, exclude _topic.md.Tree view:
parent; posts with no parent are roots.Topic list:
.discussions/*/._topic.md.author values).> blockquote — not a separate annotation.PROTOCOL.md — normative specification (required reading)templates/AGENTS.md — consumer-repo template installed during initCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub cnslabs/repo-discussions --plugin discussions