원클릭으로
agentic-github-discussion
Use when creating, listing, or managing GitHub discussions in carlos-algms/agentic.nvim repository
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use when creating, listing, or managing GitHub discussions in carlos-algms/agentic.nvim repository
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
MANDATORY before creating, editing, or reviewing tests in agentic.nvim, and before behavior changes that require TDD. Covers mini.test workflow, red/green rules, commands, mark-count checks, and which test references to load.
MANDATORY before writing or editing ANY .lua file in this repo - classes, methods, fields, functions, or LuaCATS annotations. Holds the project's enforced Lua style: class pattern, visibility prefixes (_private, __protected), and optional-type syntax. Skipping it produces luals/selene failures at make validate. Load it before the first edit, not after.
MANDATORY before editing ACPClient, ACPTransport, AgentInstance, ACP provider flow, tool-call parsing, permission requests, provider switch, reconnect, or ACP subprocess lifecycle in agentic.nvim.
Use when ACP schema is necessary to clarify the work or when the user asks for ACP data, rules, events, or documentation
Use when neovim documentation is needed for the current task or the user asks for specific neovim features or neovim lua apis. It gives instructions on how to read current Neovim's documentation locally and offline, and also how to read online if it fails
MANDATORY before editing runtime Lua under lua/agentic, except pure tests or docs. Covers multi-tab safety, public API session resolution, scoped Neovim state, buffer/window/keymap isolation, and scheduled callback rules.
| name | agentic-github-discussion |
| description | Use when creating, listing, or managing GitHub discussions in carlos-algms/agentic.nvim repository |
Manage discussions in carlos-algms/agentic.nvim via GraphQL API.
Repository ID: R_kgDOQXqKiw
| Category | ID |
|---|---|
| Announcements | DIC_kwDOQXqKi84C1alq |
| General | DIC_kwDOQXqKi84C1alr |
| Ideas | DIC_kwDOQXqKi84C1alt |
| Polls | DIC_kwDOQXqKi84C1alv |
| Q&A | DIC_kwDOQXqKi84C1als |
| Research | DIC_kwDOQXqKi84C1alw |
| Show and tell | DIC_kwDOQXqKi84C1alu |
| Label | ID |
|---|---|
| bug | LA_kwDOQXqKi88AAAACQBotaQ |
| documentation | LA_kwDOQXqKi88AAAACQBoteg |
| duplicate | LA_kwDOQXqKi88AAAACQBotgw |
| enhancement | LA_kwDOQXqKi88AAAACQBotkQ |
| good first issue | LA_kwDOQXqKi88AAAACQBotpA |
| help wanted | LA_kwDOQXqKi88AAAACQBotnA |
| invalid | LA_kwDOQXqKi88AAAACQBotqA |
| not-acp-standard | LA_kwDOQXqKi88AAAACQBottw |
| question | LA_kwDOQXqKi88AAAACQBotrw |
| quality-of-life | LA_kwDOQXqKi88AAAACVMzaQA |
Default category: Research
Override: /agentic-github-discussion Ideas or /agentic-github-discussion Q&A
gh api graphql -f query='
mutation {
createDiscussion(input: {
repositoryId: "R_kgDOQXqKiw",
categoryId: "DIC_kwDOQXqKi84C1alw",
title: "TITLE",
body: "BODY"
}) {
discussion {
id
url
}
}
}'
gh api graphql -f query='
{
repository(owner: "carlos-algms", name: "agentic.nvim") {
discussions(first: 10, orderBy: {field: CREATED_AT, direction: DESC}) {
nodes {
id
number
title
url
category { name }
labels(first: 5) { nodes { name } }
}
}
}
}'
Filter by category:
gh api graphql -f query='
{
repository(owner: "carlos-algms", name: "agentic.nvim") {
discussions(first: 10, categoryId: "DIC_kwDOQXqKi84C1alw") {
nodes { number title url }
}
}
}'
Requires discussion ID (starts with D_):
gh api graphql -f query='
mutation {
addLabelsToLabelable(input: {
labelableId: "D_kwDOQXqKi84...",
labelIds: ["LA_kwDOQXqKi88AAAACQBotkQ"]
}) {
labelable {
... on Discussion { title }
}
}
}'
gh api graphql -f query='
mutation {
removeLabelsFromLabelable(input: {
labelableId: "D_kwDOQXqKi84...",
labelIds: ["LA_kwDOQXqKi88AAAACQBotkQ"]
}) {
labelable {
... on Discussion { title }
}
}
}'
Update discussion title, body, or category:
gh api graphql -f query='
mutation {
updateDiscussion(input: {
discussionId: "D_kwDOQXqKi84...",
title: "New Title",
body: "New Body"
}) {
discussion {
id
url
}
}
}'
Get discussion ID first, then add comment using variables to avoid escaping:
# Get discussion ID
gh api graphql -f query='
{
repository(owner: "carlos-algms", name: "agentic.nvim") {
discussion(number: 108) {
id
}
}
}' --jq '.data.repository.discussion.id'
# Add comment using file for complex content
COMMENT_BODY=$(cat comment.md)
gh api graphql -F discussionId="D_kwDOQXqKi84..." -F body="$COMMENT_BODY" -f query='
mutation($discussionId: ID!, $body: String!) {
addDiscussionComment(input: {
discussionId: $discussionId,
body: $body
}) {
comment {
id
url
}
}
}'
Requires comment ID (starts with DC_):
gh api graphql -f query='
mutation {
updateDiscussionComment(input: {
commentId: "DC_kwDOQXqKi84...",
body: "Updated comment body"
}) {
comment {
id
url
}
}
}'
\" for literal quotesgh discussion doesn't existcarlos-algms (not carlos.gomes)