Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计通过

dd-file-issuedd 文件问题

Agent Skill

用于围绕 GitHub 仓库、Issue、Pull Request、分支、提交和代码协作流程提供辅助能力。它适合让 Agent 查询项目状态、整理变更、辅助创建或检查协作事项,并把仓库中的信息转成可执行的下一步。使用时需要区分只读查询和写入操作;涉及创建 PR、修改 Issue、推送分支或访问私有仓库时,应确认 token 权限、目标仓库范围和用户授权。

总安装

494

周安装

21

GitHub Stars

38

下载量

173
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:dd-file-issue(dd 文件问题)
来源仓库:https://github.com/datadog/datadog-api-claude-plugin
仓库路径:skills/dd-file-issue
安装命令:
npx skills add https://github.com/datadog/datadog-api-claude-plugin --skill dd-file-issue
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/datadog/datadog-api-claude-plugin --skill dd-file-issue

简介

dd-file-issue 自动判断应将 GitHub Issue 提交至 pup CLI 工具库还是 Claude 插件仓库。

  • 适合在报告 API 异常、认证失败或 CLI 行为问题时避免错发仓库造成处理延误。
  • 基于问题类型匹配预设路由规则,如 API 端点缺失归为 pup 仓库,插件 UI 问题归为 Claude 插件。
  • 写入操作需有效 PAT token 且目标仓库有 Issues 写入权限,否则仅返回建议不实际创建议题。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

DD File Issue Skill

This skill helps you file GitHub issues to the correct repository - either the pup CLI tool or the Claude plugin, depending on the nature of the issue.

Invocation: /dd-file-issue

Decision Logic: Which Repository?

File to DataDog/pup Repository

Issues related to the pup CLI tool itself:

  • API Functionality: API calls failing, incorrect responses, missing API endpoints
  • Authentication: OAuth2 issues, token refresh problems, API key handling
  • CLI Behavior: Command syntax, flags not working, output format issues
  • pup Installation: Binary installation, PATH issues, version problems
  • API Coverage: Missing Datadog API endpoints, incomplete command coverage
  • Performance: Slow API calls, timeout issues (when not related to agents)
  • Error Messages: Confusing pup error messages, API errors

Example Issues for pup:

  • "pup logs search returns 404 error"
  • "OAuth token refresh not working"
  • "Need support for new Datadog API endpoint"
  • "pup --output=json returns invalid JSON"
  • "pup auth login fails on Linux"

File to DataDog/datadog-api-claude-plugin Repository

Issues related to the Claude plugin and its agents:

  • Agent Behavior: Agent selection, agent prompts, agent responses
  • Documentation: README, CLAUDE.md, AGENTS.md, agent files inaccurate
  • Agent Prompts: Agent giving wrong guidance, unclear instructions
  • Skill Issues: Skills not working correctly
  • Plugin Installation: Plugin setup, configuration issues
  • Agent Selection: Claude picking wrong agent for task
  • Examples/Guides: Missing or incorrect examples in agent files
  • User Experience: Confusing workflows, unclear instructions

Example Issues for plugin:

  • "logs agent doesn't explain query syntax clearly"
  • "Agent tells me to use wrong pup command"
  • "Documentation says to use TypeScript but we use pup now"
  • "Need better examples for metrics queries"
  • "Agent selection guide is confusing"

Unclear Cases (Ask User)

If unclear which repository the issue belongs to:

  • Ask the user for more context
  • Explain the difference between pup and plugin issues
  • Let user decide

Workflow

  1. Gather Information

- What went wrong? - What were you trying to do? - What error message did you see (if any)? - What agent/command were you using?

  1. Determine Repository

- Analyze the issue against decision logic above - If unclear, ask user to clarify

  1. Check for Existing Issues

- Search the target repository for similar issues - If found, suggest commenting on existing issue instead

  1. Collect Issue Details

- Title: Clear, concise summary (e.g., "logs agent: incorrect time format example") - Body: Detailed description with: - What happened - Expected behavior - Steps to reproduce - Environment details (OS, pup version, plugin version) - Relevant logs/errors

  1. Select Issue Type

- Bug report - Feature request - Documentation improvement - Question

  1. Create Issue

- Use gh issue create to file the issue - Add appropriate labels - Provide issue URL to user

Implementation

1. Determine Repository

Ask clarifying questions:

To file this issue correctly, I need to understand:

1. What were you trying to do?
2. What went wrong?
3. Was this a problem with:
   - A pup command not working? (→ pup repo)
   - An agent giving bad guidance? (→ plugin repo)
   - Documentation being wrong/unclear? (→ plugin repo)

2. Search for Existing Issues

For pup repository:

gh issue list \
  --repo DataDog/pup \
  --search "your search terms" \
  --limit 10

For plugin repository:

gh issue list \
  --repo DataDog/datadog-api-claude-plugin \
  --search "your search terms" \
  --limit 10

3. Create Issue

For pup repository:

gh issue create \
  --repo DataDog/pup \
  --title "Clear, concise title" \
  --body "Detailed description" \
  --label "bug" # or "enhancement", "documentation"

For plugin repository:

gh issue create \
  --repo DataDog/datadog-api-claude-plugin \
  --title "Clear, concise title" \
  --body "Detailed description" \
  --label "bug" # or "enhancement", "documentation", "agent"

Issue Body Template

Use this template for comprehensive issue reports:

## Description
[Clear description of the issue]

## Expected Behavior
[What should happen]

## Actual Behavior
[What actually happened]

## Steps to Reproduce
1. [First step]
2. [Second step]
3. [...]

## Environment
- OS: [e.g., macOS 14.1, Ubuntu 22.04]
- Pup version: [run `pup --version`]
- Plugin version: [from plugin.json]
- Claude Code version: [if relevant]

## Error Messages / Logs

[Paste any error messages or relevant logs]

## Additional Context
[Any other relevant information]

## Suggested Fix (Optional)
[If you have ideas for how to fix this]

Best Practices

Good Issue Titles

✅ Good:

  • "logs agent: incorrect time format documentation"
  • "pup metrics query: --from flag ignores relative time"
  • "Agent selection guide: missing decision tree for security agents"

❌ Bad:

  • "It doesn't work"
  • "Bug"
  • "Help"

When to Bundle Issues

  • Don't bundle unrelated issues - file separately
  • Do bundle if multiple issues stem from same root cause
  • Do bundle if documenting several examples of same problem

Labels to Use

For pup repository:

  • bug - Something isn't working
  • enhancement - New feature or request
  • documentation - Improvements or additions to documentation
  • question - Further information is requested

For plugin repository:

  • bug - Something isn't working
  • enhancement - New feature or request
  • documentation - Improvements or additions to documentation
  • agent - Related to specific agent behavior
  • skill - Related to skills
  • question - Further information is requested

Examples

Example 1: Filing a pup Bug

User: "The pup logs search command times out after 30 seconds"

Analysis: This is a pup CLI issue (command behavior)

Steps:

  1. Search existing issues: gh issue list --repo DataDog/pup --search "timeout"
  2. If not found, create issue:
gh issue create \
  --repo DataDog/pup \
  --title "pup logs search: command times out after 30 seconds" \
  --body "## Description
The \`pup logs search\` command times out after 30 seconds when searching large time ranges.

## Expected Behavior
Should either complete the query or allow configurable timeout.

## Actual Behavior
Command fails with timeout error after 30 seconds.

## Steps to Reproduce
1. Run: \`pup logs search --query='*' --from='7d' --to='now'\`
2. Wait 30 seconds
3. See timeout error

## Environment
- OS: macOS 14.1
- Pup version: 1.2.3
- DD_SITE: datadoghq.com

## Error Message
\`\`\`
Error: request timeout after 30000ms
\`\`\`
" \
  --label "bug"

Example 2: Filing a Plugin Documentation Issue

User: "The logs agent documentation shows TypeScript examples instead of pup commands"

Analysis: This is a plugin issue (documentation)

Steps:

  1. Search existing issues: gh issue list --repo DataDog/datadog-api-claude-plugin --search "TypeScript"
  2. Create issue:
gh issue create \
  --repo DataDog/datadog-api-claude-plugin \
  --title "logs agent: outdated TypeScript examples in documentation" \
  --body "## Description
The logs agent documentation still shows TypeScript/Node.js examples instead of pup CLI commands.

## Location
\`agents/logs.md\` lines 150-200

## Expected
Should show pup CLI command examples like:
\`\`\`bash
pup logs search --query='*' --from='1h'
\`\`\`

## Actual
Shows TypeScript code with imports and API clients

## Impact
Confusing for users who expect pup CLI commands

## Files Affected
- agents/logs.md
- Possibly other agent files (need audit)
" \
  --label "documentation" \
  --label "agent"

Example 3: Feature Request for Plugin

User: "Can we add an agent for Datadog SLO reporting?"

Analysis: This is a plugin enhancement (new agent)

gh issue create \
  --repo DataDog/datadog-api-claude-plugin \
  --title "enhancement: add SLO reporting agent" \
  --body "## Feature Request

### Description
Add a new agent focused on SLO reporting and analysis, separate from the SLO management agent.

### Use Cases
- Generate SLO reports for stakeholders
- Analyze SLO trends over time
- Compare SLOs across services

### Proposed Agent Capabilities
- Query SLO history
- Generate formatted reports
- Calculate SLO burn rates
- Identify at-risk SLOs

### Related Agents
- Current \`slos.md\` focuses on SLO CRUD operations
- New agent would focus on analytics and reporting

### Priority
Medium - would improve SLO workflow
" \
  --label "enhancement" \
  --label "agent"

Error Handling

If issue creation fails:

  1. Check network connectivity
  2. Verify gh CLI is authenticated: gh auth status
  3. Check repository permissions
  4. Provide user with issue details to file manually

Success Response

After successfully filing an issue:

✅ Issue created successfully!

**Repository**: DataDog/[repo-name]
**Issue**: #123
**URL**: https://github.com/DataDog/[repo-name]/issues/123
**Title**: [issue title]

The team will review your issue and respond soon. You can:
- Track the issue at the URL above
- Add more details by commenting on the issue
- Subscribe to notifications for updates

Tips for Users

  1. Be specific - Include exact commands, error messages, agent names
  2. Provide context - What were you trying to accomplish?
  3. Include environment details - OS, versions, configuration
  4. One issue per report - Don't bundle unrelated problems
  5. Check existing issues first - Avoid duplicates
  6. Be patient - Maintainers will respond when available

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.57%
按下载量换算62

Claude

31.71%
按下载量换算55

Cursor

20.34%
按下载量换算35

Gemini CLI

8.95%
按下载量换算15

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills