@fitlab-ai/agent-infra 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/License.txt +21 -0
- package/README.md +170 -0
- package/README.zh-CN.md +170 -0
- package/bin/cli.js +65 -0
- package/lib/defaults.json +45 -0
- package/lib/init.js +203 -0
- package/lib/log.js +27 -0
- package/lib/paths.js +48 -0
- package/lib/prompt.js +70 -0
- package/lib/render.js +99 -0
- package/lib/update.js +161 -0
- package/lib/version.js +7 -0
- package/package.json +48 -0
- package/templates/.agent-workspace/README.md +26 -0
- package/templates/.agent-workspace/README.zh-CN.md +26 -0
- package/templates/.agents/QUICKSTART.md +166 -0
- package/templates/.agents/QUICKSTART.zh-CN.md +166 -0
- package/templates/.agents/README.md +134 -0
- package/templates/.agents/README.zh-CN.md +134 -0
- package/templates/.agents/skills/analyze-task/SKILL.md +169 -0
- package/templates/.agents/skills/analyze-task/SKILL.zh-CN.md +169 -0
- package/templates/.agents/skills/block-task/SKILL.md +164 -0
- package/templates/.agents/skills/block-task/SKILL.zh-CN.md +163 -0
- package/templates/.agents/skills/check-task/SKILL.md +122 -0
- package/templates/.agents/skills/check-task/SKILL.zh-CN.md +122 -0
- package/templates/.agents/skills/close-codescan/SKILL.md +122 -0
- package/templates/.agents/skills/close-codescan/SKILL.zh-CN.md +122 -0
- package/templates/.agents/skills/close-dependabot/SKILL.md +130 -0
- package/templates/.agents/skills/close-dependabot/SKILL.zh-CN.md +130 -0
- package/templates/.agents/skills/commit/SKILL.md +218 -0
- package/templates/.agents/skills/commit/SKILL.zh-CN.md +217 -0
- package/templates/.agents/skills/complete-task/SKILL.md +139 -0
- package/templates/.agents/skills/complete-task/SKILL.zh-CN.md +137 -0
- package/templates/.agents/skills/create-pr/SKILL.md +126 -0
- package/templates/.agents/skills/create-pr/SKILL.zh-CN.md +125 -0
- package/templates/.agents/skills/create-release-note/SKILL.md +167 -0
- package/templates/.agents/skills/create-release-note/SKILL.zh-CN.md +166 -0
- package/templates/.agents/skills/create-task/SKILL.md +143 -0
- package/templates/.agents/skills/create-task/SKILL.zh-CN.md +143 -0
- package/templates/.agents/skills/implement-task/SKILL.md +229 -0
- package/templates/.agents/skills/implement-task/SKILL.zh-CN.md +227 -0
- package/templates/.agents/skills/import-codescan/SKILL.md +103 -0
- package/templates/.agents/skills/import-codescan/SKILL.zh-CN.md +103 -0
- package/templates/.agents/skills/import-dependabot/SKILL.md +107 -0
- package/templates/.agents/skills/import-dependabot/SKILL.zh-CN.md +107 -0
- package/templates/.agents/skills/import-issue/SKILL.md +119 -0
- package/templates/.agents/skills/import-issue/SKILL.zh-CN.md +119 -0
- package/templates/.agents/skills/init-labels/SKILL.md +74 -0
- package/templates/.agents/skills/init-labels/SKILL.zh-CN.md +74 -0
- package/templates/.agents/skills/init-labels/scripts/init-labels.sh +111 -0
- package/templates/.agents/skills/init-milestones/SKILL.md +74 -0
- package/templates/.agents/skills/init-milestones/SKILL.zh-CN.md +74 -0
- package/templates/.agents/skills/init-milestones/scripts/init-milestones.sh +169 -0
- package/templates/.agents/skills/plan-task/SKILL.md +225 -0
- package/templates/.agents/skills/plan-task/SKILL.zh-CN.md +225 -0
- package/templates/.agents/skills/refine-task/SKILL.md +200 -0
- package/templates/.agents/skills/refine-task/SKILL.zh-CN.md +200 -0
- package/templates/.agents/skills/refine-title/SKILL.md +84 -0
- package/templates/.agents/skills/refine-title/SKILL.zh-CN.md +83 -0
- package/templates/.agents/skills/release/SKILL.md +142 -0
- package/templates/.agents/skills/release/SKILL.zh-CN.md +141 -0
- package/templates/.agents/skills/release/scripts/manage-milestones.sh +80 -0
- package/templates/.agents/skills/review-task/SKILL.md +276 -0
- package/templates/.agents/skills/review-task/SKILL.zh-CN.md +276 -0
- package/templates/.agents/skills/sync-issue/SKILL.md +569 -0
- package/templates/.agents/skills/sync-issue/SKILL.zh-CN.md +569 -0
- package/templates/.agents/skills/sync-pr/SKILL.md +142 -0
- package/templates/.agents/skills/sync-pr/SKILL.zh-CN.md +142 -0
- package/templates/.agents/skills/test/SKILL.md +61 -0
- package/templates/.agents/skills/test/SKILL.zh-CN.md +61 -0
- package/templates/.agents/skills/test-integration/SKILL.md +70 -0
- package/templates/.agents/skills/test-integration/SKILL.zh-CN.md +69 -0
- package/templates/.agents/skills/update-agent-infra/SKILL.md +136 -0
- package/templates/.agents/skills/update-agent-infra/SKILL.zh-CN.md +124 -0
- package/templates/.agents/skills/update-agent-infra/scripts/package.json +3 -0
- package/templates/.agents/skills/update-agent-infra/scripts/sync-templates.js +469 -0
- package/templates/.agents/skills/upgrade-dependency/SKILL.md +88 -0
- package/templates/.agents/skills/upgrade-dependency/SKILL.zh-CN.md +87 -0
- package/templates/.agents/templates/handoff.md +60 -0
- package/templates/.agents/templates/handoff.zh-CN.md +60 -0
- package/templates/.agents/templates/review-report.md +67 -0
- package/templates/.agents/templates/review-report.zh-CN.md +67 -0
- package/templates/.agents/templates/task.md +65 -0
- package/templates/.agents/templates/task.zh-CN.md +65 -0
- package/templates/.agents/workflows/bug-fix.yaml +149 -0
- package/templates/.agents/workflows/bug-fix.zh-CN.yaml +149 -0
- package/templates/.agents/workflows/code-review.yaml +60 -0
- package/templates/.agents/workflows/code-review.zh-CN.yaml +60 -0
- package/templates/.agents/workflows/feature-development.yaml +150 -0
- package/templates/.agents/workflows/feature-development.zh-CN.yaml +150 -0
- package/templates/.agents/workflows/refactoring.yaml +154 -0
- package/templates/.agents/workflows/refactoring.zh-CN.yaml +154 -0
- package/templates/.claude/CLAUDE.md +163 -0
- package/templates/.claude/CLAUDE.zh-CN.md +163 -0
- package/templates/.claude/commands/analyze-task.md +8 -0
- package/templates/.claude/commands/analyze-task.zh-CN.md +8 -0
- package/templates/.claude/commands/block-task.md +8 -0
- package/templates/.claude/commands/block-task.zh-CN.md +8 -0
- package/templates/.claude/commands/check-task.md +8 -0
- package/templates/.claude/commands/check-task.zh-CN.md +8 -0
- package/templates/.claude/commands/close-codescan.md +8 -0
- package/templates/.claude/commands/close-codescan.zh-CN.md +8 -0
- package/templates/.claude/commands/close-dependabot.md +8 -0
- package/templates/.claude/commands/close-dependabot.zh-CN.md +8 -0
- package/templates/.claude/commands/commit.md +7 -0
- package/templates/.claude/commands/commit.zh-CN.md +7 -0
- package/templates/.claude/commands/complete-task.md +8 -0
- package/templates/.claude/commands/complete-task.zh-CN.md +8 -0
- package/templates/.claude/commands/create-pr.md +8 -0
- package/templates/.claude/commands/create-pr.zh-CN.md +8 -0
- package/templates/.claude/commands/create-release-note.md +8 -0
- package/templates/.claude/commands/create-release-note.zh-CN.md +8 -0
- package/templates/.claude/commands/create-task.md +8 -0
- package/templates/.claude/commands/create-task.zh-CN.md +8 -0
- package/templates/.claude/commands/implement-task.md +8 -0
- package/templates/.claude/commands/implement-task.zh-CN.md +8 -0
- package/templates/.claude/commands/import-codescan.md +8 -0
- package/templates/.claude/commands/import-codescan.zh-CN.md +8 -0
- package/templates/.claude/commands/import-dependabot.md +8 -0
- package/templates/.claude/commands/import-dependabot.zh-CN.md +8 -0
- package/templates/.claude/commands/import-issue.md +8 -0
- package/templates/.claude/commands/import-issue.zh-CN.md +8 -0
- package/templates/.claude/commands/init-labels.md +7 -0
- package/templates/.claude/commands/init-labels.zh-CN.md +7 -0
- package/templates/.claude/commands/init-milestones.md +8 -0
- package/templates/.claude/commands/init-milestones.zh-CN.md +8 -0
- package/templates/.claude/commands/plan-task.md +8 -0
- package/templates/.claude/commands/plan-task.zh-CN.md +8 -0
- package/templates/.claude/commands/refine-task.md +8 -0
- package/templates/.claude/commands/refine-task.zh-CN.md +8 -0
- package/templates/.claude/commands/refine-title.md +8 -0
- package/templates/.claude/commands/refine-title.zh-CN.md +8 -0
- package/templates/.claude/commands/release.md +8 -0
- package/templates/.claude/commands/release.zh-CN.md +8 -0
- package/templates/.claude/commands/review-task.md +8 -0
- package/templates/.claude/commands/review-task.zh-CN.md +8 -0
- package/templates/.claude/commands/sync-issue.md +8 -0
- package/templates/.claude/commands/sync-issue.zh-CN.md +8 -0
- package/templates/.claude/commands/sync-pr.md +8 -0
- package/templates/.claude/commands/sync-pr.zh-CN.md +8 -0
- package/templates/.claude/commands/test-integration.md +7 -0
- package/templates/.claude/commands/test-integration.zh-CN.md +7 -0
- package/templates/.claude/commands/test.md +7 -0
- package/templates/.claude/commands/test.zh-CN.md +7 -0
- package/templates/.claude/commands/update-agent-infra.md +7 -0
- package/templates/.claude/commands/update-agent-infra.zh-CN.md +7 -0
- package/templates/.claude/commands/upgrade-dependency.md +8 -0
- package/templates/.claude/commands/upgrade-dependency.zh-CN.md +8 -0
- package/templates/.claude/project-rules.md +65 -0
- package/templates/.claude/project-rules.zh-CN.md +65 -0
- package/templates/.claude/settings.json +20 -0
- package/templates/.codex/README.md +38 -0
- package/templates/.codex/README.zh-CN.md +37 -0
- package/templates/.editorconfig +15 -0
- package/templates/.gemini/commands/_project_/analyze-task.toml +8 -0
- package/templates/.gemini/commands/_project_/analyze-task.zh-CN.toml +8 -0
- package/templates/.gemini/commands/_project_/block-task.toml +8 -0
- package/templates/.gemini/commands/_project_/block-task.zh-CN.toml +8 -0
- package/templates/.gemini/commands/_project_/check-task.toml +8 -0
- package/templates/.gemini/commands/_project_/check-task.zh-CN.toml +8 -0
- package/templates/.gemini/commands/_project_/close-codescan.toml +8 -0
- package/templates/.gemini/commands/_project_/close-codescan.zh-CN.toml +8 -0
- package/templates/.gemini/commands/_project_/close-dependabot.toml +8 -0
- package/templates/.gemini/commands/_project_/close-dependabot.zh-CN.toml +8 -0
- package/templates/.gemini/commands/_project_/commit.toml +6 -0
- package/templates/.gemini/commands/_project_/commit.zh-CN.toml +6 -0
- package/templates/.gemini/commands/_project_/complete-task.toml +8 -0
- package/templates/.gemini/commands/_project_/complete-task.zh-CN.toml +8 -0
- package/templates/.gemini/commands/_project_/create-pr.toml +8 -0
- package/templates/.gemini/commands/_project_/create-pr.zh-CN.toml +8 -0
- package/templates/.gemini/commands/_project_/create-release-note.toml +8 -0
- package/templates/.gemini/commands/_project_/create-release-note.zh-CN.toml +8 -0
- package/templates/.gemini/commands/_project_/create-task.toml +8 -0
- package/templates/.gemini/commands/_project_/create-task.zh-CN.toml +8 -0
- package/templates/.gemini/commands/_project_/implement-task.toml +8 -0
- package/templates/.gemini/commands/_project_/implement-task.zh-CN.toml +8 -0
- package/templates/.gemini/commands/_project_/import-codescan.toml +8 -0
- package/templates/.gemini/commands/_project_/import-codescan.zh-CN.toml +8 -0
- package/templates/.gemini/commands/_project_/import-dependabot.toml +8 -0
- package/templates/.gemini/commands/_project_/import-dependabot.zh-CN.toml +8 -0
- package/templates/.gemini/commands/_project_/import-issue.toml +8 -0
- package/templates/.gemini/commands/_project_/import-issue.zh-CN.toml +8 -0
- package/templates/.gemini/commands/_project_/init-labels.toml +8 -0
- package/templates/.gemini/commands/_project_/init-labels.zh-CN.toml +8 -0
- package/templates/.gemini/commands/_project_/init-milestones.toml +10 -0
- package/templates/.gemini/commands/_project_/init-milestones.zh-CN.toml +10 -0
- package/templates/.gemini/commands/_project_/plan-task.toml +8 -0
- package/templates/.gemini/commands/_project_/plan-task.zh-CN.toml +8 -0
- package/templates/.gemini/commands/_project_/refine-task.toml +8 -0
- package/templates/.gemini/commands/_project_/refine-task.zh-CN.toml +8 -0
- package/templates/.gemini/commands/_project_/refine-title.toml +8 -0
- package/templates/.gemini/commands/_project_/refine-title.zh-CN.toml +8 -0
- package/templates/.gemini/commands/_project_/release.toml +8 -0
- package/templates/.gemini/commands/_project_/release.zh-CN.toml +8 -0
- package/templates/.gemini/commands/_project_/review-task.toml +8 -0
- package/templates/.gemini/commands/_project_/review-task.zh-CN.toml +8 -0
- package/templates/.gemini/commands/_project_/sync-issue.toml +8 -0
- package/templates/.gemini/commands/_project_/sync-issue.zh-CN.toml +8 -0
- package/templates/.gemini/commands/_project_/sync-pr.toml +8 -0
- package/templates/.gemini/commands/_project_/sync-pr.zh-CN.toml +8 -0
- package/templates/.gemini/commands/_project_/test-integration.toml +6 -0
- package/templates/.gemini/commands/_project_/test-integration.zh-CN.toml +6 -0
- package/templates/.gemini/commands/_project_/test.toml +6 -0
- package/templates/.gemini/commands/_project_/test.zh-CN.toml +6 -0
- package/templates/.gemini/commands/_project_/update-agent-infra.toml +6 -0
- package/templates/.gemini/commands/_project_/update-agent-infra.zh-CN.toml +6 -0
- package/templates/.gemini/commands/_project_/upgrade-dependency.toml +8 -0
- package/templates/.gemini/commands/_project_/upgrade-dependency.zh-CN.toml +8 -0
- package/templates/.gemini/settings.json +3 -0
- package/templates/.github/ISSUE_TEMPLATE/01_bug_report.yml +149 -0
- package/templates/.github/ISSUE_TEMPLATE/02_question.yml +101 -0
- package/templates/.github/ISSUE_TEMPLATE/03_feature_request.yml +131 -0
- package/templates/.github/ISSUE_TEMPLATE/04_documentation.yml +165 -0
- package/templates/.github/ISSUE_TEMPLATE/05_other.yml +147 -0
- package/templates/.github/ISSUE_TEMPLATE/config.yml +11 -0
- package/templates/.github/PULL_REQUEST_TEMPLATE.md +123 -0
- package/templates/.github/dependabot.yml +17 -0
- package/templates/.github/hooks/check-utf8-encoding.sh +25 -0
- package/templates/.github/release.yml +27 -0
- package/templates/.github/workflows/pr-title-check.yml +42 -0
- package/templates/.mailmap +4 -0
- package/templates/.opencode/COMMAND_STYLE_GUIDE.md +232 -0
- package/templates/.opencode/COMMAND_STYLE_GUIDE.zh-CN.md +232 -0
- package/templates/.opencode/README.md +76 -0
- package/templates/.opencode/README.zh-CN.md +77 -0
- package/templates/.opencode/commands/analyze-task.md +11 -0
- package/templates/.opencode/commands/analyze-task.zh-CN.md +11 -0
- package/templates/.opencode/commands/block-task.md +11 -0
- package/templates/.opencode/commands/block-task.zh-CN.md +11 -0
- package/templates/.opencode/commands/check-task.md +11 -0
- package/templates/.opencode/commands/check-task.zh-CN.md +11 -0
- package/templates/.opencode/commands/close-codescan.md +11 -0
- package/templates/.opencode/commands/close-codescan.zh-CN.md +11 -0
- package/templates/.opencode/commands/close-dependabot.md +11 -0
- package/templates/.opencode/commands/close-dependabot.zh-CN.md +11 -0
- package/templates/.opencode/commands/commit.md +9 -0
- package/templates/.opencode/commands/commit.zh-CN.md +9 -0
- package/templates/.opencode/commands/complete-task.md +11 -0
- package/templates/.opencode/commands/complete-task.zh-CN.md +11 -0
- package/templates/.opencode/commands/create-pr.md +11 -0
- package/templates/.opencode/commands/create-pr.zh-CN.md +11 -0
- package/templates/.opencode/commands/create-release-note.md +11 -0
- package/templates/.opencode/commands/create-release-note.zh-CN.md +11 -0
- package/templates/.opencode/commands/create-task.md +11 -0
- package/templates/.opencode/commands/create-task.zh-CN.md +11 -0
- package/templates/.opencode/commands/implement-task.md +11 -0
- package/templates/.opencode/commands/implement-task.zh-CN.md +11 -0
- package/templates/.opencode/commands/import-codescan.md +11 -0
- package/templates/.opencode/commands/import-codescan.zh-CN.md +11 -0
- package/templates/.opencode/commands/import-dependabot.md +11 -0
- package/templates/.opencode/commands/import-dependabot.zh-CN.md +11 -0
- package/templates/.opencode/commands/import-issue.md +11 -0
- package/templates/.opencode/commands/import-issue.zh-CN.md +11 -0
- package/templates/.opencode/commands/init-labels.md +9 -0
- package/templates/.opencode/commands/init-labels.zh-CN.md +9 -0
- package/templates/.opencode/commands/init-milestones.md +11 -0
- package/templates/.opencode/commands/init-milestones.zh-CN.md +11 -0
- package/templates/.opencode/commands/plan-task.md +11 -0
- package/templates/.opencode/commands/plan-task.zh-CN.md +11 -0
- package/templates/.opencode/commands/refine-task.md +11 -0
- package/templates/.opencode/commands/refine-task.zh-CN.md +11 -0
- package/templates/.opencode/commands/refine-title.md +11 -0
- package/templates/.opencode/commands/refine-title.zh-CN.md +11 -0
- package/templates/.opencode/commands/release.md +11 -0
- package/templates/.opencode/commands/release.zh-CN.md +11 -0
- package/templates/.opencode/commands/review-task.md +11 -0
- package/templates/.opencode/commands/review-task.zh-CN.md +11 -0
- package/templates/.opencode/commands/sync-issue.md +11 -0
- package/templates/.opencode/commands/sync-issue.zh-CN.md +11 -0
- package/templates/.opencode/commands/sync-pr.md +11 -0
- package/templates/.opencode/commands/sync-pr.zh-CN.md +11 -0
- package/templates/.opencode/commands/test-integration.md +9 -0
- package/templates/.opencode/commands/test-integration.zh-CN.md +9 -0
- package/templates/.opencode/commands/test.md +9 -0
- package/templates/.opencode/commands/test.zh-CN.md +9 -0
- package/templates/.opencode/commands/update-agent-infra.md +9 -0
- package/templates/.opencode/commands/update-agent-infra.zh-CN.md +9 -0
- package/templates/.opencode/commands/upgrade-dependency.md +11 -0
- package/templates/.opencode/commands/upgrade-dependency.zh-CN.md +11 -0
- package/templates/AGENTS.md +91 -0
- package/templates/AGENTS.zh-CN.md +91 -0
- package/templates/CONTRIBUTING.md +126 -0
- package/templates/CONTRIBUTING.zh-CN.md +124 -0
- package/templates/SECURITY.md +131 -0
- package/templates/SECURITY.zh-CN.md +131 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
description = "Import a Code Scanning alert and create a remediation task"
|
|
2
|
+
prompt = """
|
|
3
|
+
Import CodeQL alert #{{args}}.
|
|
4
|
+
|
|
5
|
+
Read and execute the import-codescan skill from `.agents/skills/import-codescan/SKILL.md`.
|
|
6
|
+
|
|
7
|
+
Follow all steps defined in the skill exactly.
|
|
8
|
+
"""
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
description = "Import a Dependabot alert and create a remediation task"
|
|
2
|
+
prompt = """
|
|
3
|
+
Import Dependabot alert #{{args}}.
|
|
4
|
+
|
|
5
|
+
Read and execute the import-dependabot skill from `.agents/skills/import-dependabot/SKILL.md`.
|
|
6
|
+
|
|
7
|
+
Follow all steps defined in the skill exactly.
|
|
8
|
+
"""
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
description = "Initialize the repository's standard GitHub Labels taxonomy"
|
|
2
|
+
prompt = """
|
|
3
|
+
Initialize GitHub Labels for {{project}}.
|
|
4
|
+
|
|
5
|
+
Read and execute the init-labels skill from `.agents/skills/init-labels/SKILL.md`.
|
|
6
|
+
|
|
7
|
+
Follow all steps defined in the skill exactly.
|
|
8
|
+
"""
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
description = "Initialize the repository's standard GitHub Milestones taxonomy and optionally backfill historical milestones with --history"
|
|
2
|
+
prompt = """
|
|
3
|
+
Initialize milestones: {{args}}
|
|
4
|
+
|
|
5
|
+
Initialize GitHub Milestones for {{project}}.
|
|
6
|
+
|
|
7
|
+
Read and execute the init-milestones skill from `.agents/skills/init-milestones/SKILL.md`.
|
|
8
|
+
|
|
9
|
+
Follow all steps defined in the skill exactly.
|
|
10
|
+
"""
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
description = "一次性初始化仓库的标准 GitHub Milestones 体系。创建 General Backlog、基于当前版本的初始里程碑,并可选通过 --history 补齐历史版本里程碑。"
|
|
2
|
+
prompt = """
|
|
3
|
+
初始化里程碑:{{args}}
|
|
4
|
+
|
|
5
|
+
为 {{project}} 初始化 GitHub Milestones。
|
|
6
|
+
|
|
7
|
+
读取并执行 `.agents/skills/init-milestones/SKILL.md` 中的 init-milestones 技能。
|
|
8
|
+
|
|
9
|
+
严格按照技能中定义的所有步骤执行。
|
|
10
|
+
"""
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
description = "Deep-analyze Issue or PR content and reformat its title to Conventional Commits format"
|
|
2
|
+
prompt = """
|
|
3
|
+
Refine title of #{{args}}.
|
|
4
|
+
|
|
5
|
+
Read and execute the refine-title skill from `.agents/skills/refine-title/SKILL.md`.
|
|
6
|
+
|
|
7
|
+
Follow all steps defined in the skill exactly.
|
|
8
|
+
"""
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
description = "Update project AI collaboration config by re-rendering latest templates/"
|
|
2
|
+
prompt = """
|
|
3
|
+
Read and execute the update-agent-infra skill from `.agents/skills/update-agent-infra/SKILL.md`.
|
|
4
|
+
|
|
5
|
+
Follow all steps defined in the skill exactly, including rendering from `templates/` before applying managed or merged updates.
|
|
6
|
+
"""
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
name: 🐛 问题报告 / Bug Report
|
|
2
|
+
description: 报告项目中的错误或问题 / Report bugs or issues in the project
|
|
3
|
+
labels:
|
|
4
|
+
- "type: bug"
|
|
5
|
+
- "status: waiting-for-triage"
|
|
6
|
+
type: Bug
|
|
7
|
+
body:
|
|
8
|
+
- type: markdown
|
|
9
|
+
attributes:
|
|
10
|
+
value: |
|
|
11
|
+
## 感谢您提交问题报告!/ Thank you for submitting a bug report!
|
|
12
|
+
|
|
13
|
+
请尽可能详细地描述问题,这将帮助我们更快地定位和修复问题。
|
|
14
|
+
Please describe the issue in as much detail as possible to help us locate and fix it faster.
|
|
15
|
+
|
|
16
|
+
- type: input
|
|
17
|
+
id: summary
|
|
18
|
+
attributes:
|
|
19
|
+
label: 问题摘要 / Issue Summary
|
|
20
|
+
description: 用一句话简要描述这个问题 / Briefly describe this bug in one sentence
|
|
21
|
+
placeholder: |
|
|
22
|
+
例如:执行某个操作后回调未触发
|
|
23
|
+
Example: Callback not triggered after executing a specific operation
|
|
24
|
+
validations:
|
|
25
|
+
required: true
|
|
26
|
+
|
|
27
|
+
- type: input
|
|
28
|
+
id: version
|
|
29
|
+
attributes:
|
|
30
|
+
label: 版本信息 / Version Information
|
|
31
|
+
description: 您使用的是哪个版本?/ Which version are you using?
|
|
32
|
+
placeholder: "例如 / e.g.: v1.0.0"
|
|
33
|
+
validations:
|
|
34
|
+
required: true
|
|
35
|
+
|
|
36
|
+
- type: input
|
|
37
|
+
id: runtime
|
|
38
|
+
attributes:
|
|
39
|
+
label: 运行环境 / Runtime Environment
|
|
40
|
+
description: 您使用的运行环境版本 / Your runtime environment version
|
|
41
|
+
placeholder: "例如 / e.g.: Node.js 20.x, Python 3.12, JDK 17"
|
|
42
|
+
|
|
43
|
+
- type: dropdown
|
|
44
|
+
id: os
|
|
45
|
+
attributes:
|
|
46
|
+
label: 操作系统 / Operating System
|
|
47
|
+
description: 您使用的操作系统 / Your operating system
|
|
48
|
+
options:
|
|
49
|
+
- "Windows 11"
|
|
50
|
+
- "Windows 10"
|
|
51
|
+
- "macOS (Intel)"
|
|
52
|
+
- "macOS (Apple Silicon)"
|
|
53
|
+
- "Ubuntu/Debian"
|
|
54
|
+
- "Other Linux"
|
|
55
|
+
- "其他 (请在下方说明) / Other (please specify below)"
|
|
56
|
+
|
|
57
|
+
- type: textarea
|
|
58
|
+
id: what-happened
|
|
59
|
+
attributes:
|
|
60
|
+
label: 发生了什么?/ What happened?
|
|
61
|
+
description: |
|
|
62
|
+
详细描述问题的现象
|
|
63
|
+
Describe the bug phenomenon in detail
|
|
64
|
+
placeholder: |
|
|
65
|
+
告诉我们您看到了什么!
|
|
66
|
+
Tell us what you saw!
|
|
67
|
+
|
|
68
|
+
例如 / Example:
|
|
69
|
+
- 执行某个操作后,未得到预期的结果
|
|
70
|
+
- After executing a specific operation, the expected result was not obtained
|
|
71
|
+
validations:
|
|
72
|
+
required: true
|
|
73
|
+
|
|
74
|
+
- type: textarea
|
|
75
|
+
id: expected
|
|
76
|
+
attributes:
|
|
77
|
+
label: 期望的行为 / Expected Behavior
|
|
78
|
+
description: |
|
|
79
|
+
描述您期望发生什么
|
|
80
|
+
Describe what you expected to happen
|
|
81
|
+
placeholder: |
|
|
82
|
+
告诉我们您期望看到什么!
|
|
83
|
+
Tell us what you expected to see!
|
|
84
|
+
|
|
85
|
+
例如 / Example:
|
|
86
|
+
- 操作应该成功完成并返回正确的结果
|
|
87
|
+
- The operation should complete successfully and return the correct result
|
|
88
|
+
validations:
|
|
89
|
+
required: true
|
|
90
|
+
|
|
91
|
+
- type: textarea
|
|
92
|
+
id: steps
|
|
93
|
+
attributes:
|
|
94
|
+
label: 重现步骤 / Steps to Reproduce
|
|
95
|
+
description: |
|
|
96
|
+
如何重现这个问题?
|
|
97
|
+
How to reproduce this issue?
|
|
98
|
+
placeholder: |
|
|
99
|
+
1. 安装依赖 / Install dependencies
|
|
100
|
+
2. 配置 '...' / Configure '...'
|
|
101
|
+
3. 运行 '...' / Run '...'
|
|
102
|
+
4. 看到错误 / See error
|
|
103
|
+
validations:
|
|
104
|
+
required: true
|
|
105
|
+
|
|
106
|
+
- type: textarea
|
|
107
|
+
id: logs
|
|
108
|
+
attributes:
|
|
109
|
+
label: 相关日志 / Relevant Logs
|
|
110
|
+
description: |
|
|
111
|
+
请复制粘贴任何相关的日志输出、错误信息或控制台输出
|
|
112
|
+
Please copy and paste any relevant log output, error messages, or console output
|
|
113
|
+
|
|
114
|
+
这将自动格式化为代码块,无需使用反引号
|
|
115
|
+
This will be automatically formatted as code block, no need for backticks
|
|
116
|
+
render: shell
|
|
117
|
+
|
|
118
|
+
- type: textarea
|
|
119
|
+
id: additional-context
|
|
120
|
+
attributes:
|
|
121
|
+
label: 额外信息 / Additional Context
|
|
122
|
+
description: |
|
|
123
|
+
添加任何其他有助于解决问题的信息,如截图、相关链接等
|
|
124
|
+
Add any other information that might help solve the issue, such as screenshots, related links, etc.
|
|
125
|
+
|
|
126
|
+
- type: checkboxes
|
|
127
|
+
id: terms
|
|
128
|
+
attributes:
|
|
129
|
+
label: 确认事项 / Confirmations
|
|
130
|
+
description: |
|
|
131
|
+
提交前请确认以下事项
|
|
132
|
+
Please confirm the following before submitting
|
|
133
|
+
options:
|
|
134
|
+
- label: |
|
|
135
|
+
我已经搜索了现有的issues,确认这不是重复问题
|
|
136
|
+
I have searched existing issues and confirmed this is not a duplicate
|
|
137
|
+
required: true
|
|
138
|
+
- label: |
|
|
139
|
+
我已经阅读了项目文档和 FAQ
|
|
140
|
+
I have read the project documentation and FAQ
|
|
141
|
+
required: true
|
|
142
|
+
- label: |
|
|
143
|
+
我提供的信息准确完整
|
|
144
|
+
The information I provided is accurate and complete
|
|
145
|
+
required: true
|
|
146
|
+
- label: |
|
|
147
|
+
我愿意协助测试问题修复 (可选)
|
|
148
|
+
I'm willing to help test the bug fix (optional)
|
|
149
|
+
required: false
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
name: ❓ 问题咨询 / Question
|
|
2
|
+
description: 询问使用相关的问题 / Ask usage-related questions
|
|
3
|
+
labels:
|
|
4
|
+
- "type: question"
|
|
5
|
+
- "status: waiting-for-triage"
|
|
6
|
+
type: Task
|
|
7
|
+
body:
|
|
8
|
+
- type: markdown
|
|
9
|
+
attributes:
|
|
10
|
+
value: |
|
|
11
|
+
## 提问前请先查看 / Please check before asking
|
|
12
|
+
|
|
13
|
+
- 📚 项目文档 / Documentation
|
|
14
|
+
- ❓ 常见问题 / FAQ
|
|
15
|
+
如果文档中没有找到答案,请详细描述您的问题。
|
|
16
|
+
If you can't find the answer in the documentation, please describe your question in detail.
|
|
17
|
+
|
|
18
|
+
- type: input
|
|
19
|
+
id: summary
|
|
20
|
+
attributes:
|
|
21
|
+
label: 问题摘要 / Question Summary
|
|
22
|
+
description: |
|
|
23
|
+
简要描述您的问题
|
|
24
|
+
Briefly describe your question
|
|
25
|
+
placeholder: |
|
|
26
|
+
例如:如何正确配置项目?
|
|
27
|
+
Example: How to configure the project correctly?
|
|
28
|
+
validations:
|
|
29
|
+
required: true
|
|
30
|
+
|
|
31
|
+
- type: dropdown
|
|
32
|
+
id: category
|
|
33
|
+
attributes:
|
|
34
|
+
label: 问题类别 / Question Category
|
|
35
|
+
description: |
|
|
36
|
+
您的问题属于哪个类别?
|
|
37
|
+
Which category does your question belong to?
|
|
38
|
+
options:
|
|
39
|
+
- 安装配置 / Installation & Configuration
|
|
40
|
+
- 使用教程 / Usage Tutorial
|
|
41
|
+
- "API相关 / API Related"
|
|
42
|
+
- 故障排除 / Troubleshooting
|
|
43
|
+
- 最佳实践 / Best Practices
|
|
44
|
+
- 性能相关 / Performance Related
|
|
45
|
+
- 集成问题 / Integration Issues
|
|
46
|
+
- 其他 / Other
|
|
47
|
+
validations:
|
|
48
|
+
required: true
|
|
49
|
+
|
|
50
|
+
- type: textarea
|
|
51
|
+
id: question
|
|
52
|
+
attributes:
|
|
53
|
+
label: 详细问题 / Detailed Question
|
|
54
|
+
description: |
|
|
55
|
+
详细描述您遇到的问题,包括:
|
|
56
|
+
- 您想要实现什么
|
|
57
|
+
- 您尝试了什么方法
|
|
58
|
+
- 遇到了什么困难
|
|
59
|
+
|
|
60
|
+
Describe your problem in detail, including:
|
|
61
|
+
- What you want to achieve
|
|
62
|
+
- What methods you tried
|
|
63
|
+
- What difficulties you encountered
|
|
64
|
+
placeholder: |
|
|
65
|
+
我想要... / I want to...
|
|
66
|
+
我尝试了... / I tried...
|
|
67
|
+
但是遇到了... / But I encountered...
|
|
68
|
+
validations:
|
|
69
|
+
required: true
|
|
70
|
+
|
|
71
|
+
- type: textarea
|
|
72
|
+
id: context
|
|
73
|
+
attributes:
|
|
74
|
+
label: 环境信息 / Environment Information
|
|
75
|
+
description: |
|
|
76
|
+
提供相关的环境信息 / Provide relevant environment information
|
|
77
|
+
placeholder: |
|
|
78
|
+
- 操作系统 / OS: (例如 Windows 11, macOS 13, Ubuntu 20.04)
|
|
79
|
+
- 运行环境版本 / Runtime Version: (例如 Node.js v20.11.0)
|
|
80
|
+
- 项目版本 / Project Version: (例如 v0.1.0)
|
|
81
|
+
- 其他相关信息 / Other relevant info:
|
|
82
|
+
|
|
83
|
+
- type: checkboxes
|
|
84
|
+
id: checklist
|
|
85
|
+
attributes:
|
|
86
|
+
label: 确认事项 / Checklist
|
|
87
|
+
description: |
|
|
88
|
+
提交前请确认 / Please confirm before submitting
|
|
89
|
+
options:
|
|
90
|
+
- label: |
|
|
91
|
+
我已经查看了项目文档
|
|
92
|
+
I have read the project documentation
|
|
93
|
+
required: true
|
|
94
|
+
- label: |
|
|
95
|
+
我已经搜索了相关 issues 和讨论
|
|
96
|
+
I have searched related issues and discussions
|
|
97
|
+
required: true
|
|
98
|
+
- label: |
|
|
99
|
+
我已经尝试了基本的故障排除步骤
|
|
100
|
+
I have tried basic troubleshooting steps
|
|
101
|
+
required: true
|