一键导入
new
Create a GitHub issue (or local issue with --local)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create a GitHub issue (or local issue with --local)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create or update the project security baseline, profile, suppressions file, and gitignore entries for security scans
Fix or guide remediation for a specific security finding from the latest scan report
Run a security assessment using deterministic static analysis tools with LLM-powered triage
Inspect and optionally install security scanning tools for the security plugin
Query ctx memory and inject results into context
Show ctx memory status (node counts, types, tiers, tokens)
| name | new |
| description | Create a GitHub issue (or local issue with --local) |
| argument-hint | [title or description] [--local] |
| allowed-tools | ["Read","Write","Edit","Bash","Bash(${CLAUDE_PLUGIN_ROOT}/scripts/*.sh:*)","AskUserQuestion","Glob"] |
Create a GitHub issue via gh issue create. You do the work directly.
Use --local for offline/private work in .devloop/issues/.
Check $ARGUMENTS for title/description and --local flag.
"${CLAUDE_PLUGIN_ROOT}/scripts/check-gh-setup.sh"
If preferred_method is "none":
gh_installed: false: Display install instructions, fall back to --localgh_authenticated: false: Prompt gh auth login, fall back to --localIf "gh" or "curl": Continue to GitHub Mode (unless --local specified).
AskUserQuestion:
questions:
- question: "What type of issue?"
header: "Type"
multiSelect: false
options:
- label: "Bug"
description: "Something isn't working correctly"
- label: "Feature"
description: "New functionality or enhancement"
- label: "Task"
description: "General work item or chore"
- question: "Add labels?"
header: "Labels"
multiSelect: true
options:
- label: "bug"
description: "Bug fix"
- label: "enhancement"
description: "New feature or improvement"
- label: "devloop"
description: "Related to devloop plugin"
- label: "documentation"
description: "Documentation update"
Auto-add type label: Bug → "bug", Feature → "enhancement".
If no title in arguments, prompt for it. Then ask for description (what, why, context, acceptance criteria).
gh issue create \
--title "${title}" \
--body "${body}" \
--label "${labels_comma_separated}" \
--repo $(git remote get-url origin | sed 's/.*[:/]\([^/]*\/[^/]*\)\.git/\1/')
Parse issue URL and number from output.
AskUserQuestion:
questions:
- question: "Issue #N created. What next?"
header: "Next"
multiSelect: false
options:
- label: "Start work"
description: "Create plan from this issue"
- label: "Create more"
description: "Create another issue"
- label: "View issues"
description: "List all open issues"
- label: "Done"
description: "Return to conversation"
Route: Start → /devloop:plan --from-issue N, More → loop, View → /devloop:issues, Done → exit.
Only if --local specified or GitHub unavailable.
AskUserQuestion:
questions:
- question: "What type of issue?"
header: "Type"
multiSelect: false
options:
- label: "Bug"
description: "Something isn't working"
- label: "Feature"
description: "New functionality"
- label: "Task"
description: "General work item"
- label: "Spike"
description: "Research or investigation"
- question: "Priority?"
header: "Priority"
multiSelect: false
options:
- label: "High"
description: "Urgent"
- label: "Medium (Recommended)"
description: "Normal priority"
- label: "Low"
description: "Nice to have"
- question: "Labels?"
header: "Labels"
multiSelect: true
options:
- label: "devloop"
description: "Related to devloop"
- label: "commands"
description: "Related to commands"
- label: "agents"
description: "Related to agents"
- label: "ux"
description: "User experience"
Bug: Severity (Critical/Major/Minor/Cosmetic) Feature/Task: Size estimate (XS/S/M/L) Spike: Depth (Quick/Standard/Deep)
If no title, prompt. Then ask for description.
ls .devloop/issues/${TYPE}-*.md 2>/dev/null | wc -l
Format: {TYPE}-{NUMBER} (e.g., FEAT-003).
Write to .devloop/issues/${TYPE}-${NUMBER}.md:
---
id: ${TYPE}-${NUMBER}
type: ${type}
title: ${title}
status: open
priority: ${priority}
created: ${ISO_DATE}
labels: [${labels}]
---
# ${TYPE}-${NUMBER}: ${title}
## Description
${description}
## Acceptance Criteria
- [ ] ${auto_criteria}
## Technical Notes
<!-- Implementation notes -->
## Resolution
<!-- Filled when done -->
Add to .devloop/issues/index.md (create if needed).
Same as GitHub mode but for local issues.
If $ARGUMENTS has 5+ words, enable quick mode:
GitHub: Prompt confirmation only, then create. Local: Create immediately.
/devloop:new # Interactive GitHub
/devloop:new Fix login button not responding # Quick mode GitHub
/devloop:new Add dark mode support # Quick mode GitHub
/devloop:new --local Private refactoring notes # Local issue
/devloop:new --local # Interactive local
--local flag--local