maintainer-workflow-commands
Use when adding or auditing project commands for setup, development, tests, lint, dependencies, troubleshooting, or releases, and when making those commands discoverable through bin/workflows.
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- maintainer-workflow-commands
- summary
- Generate lean project workflows for selected languages.
- description
- Use when adding or auditing project commands for setup, development, tests, lint, dependencies, troubleshooting, or releases, and when making those commands discoverable through bin/workflows.
02 资源文件 46
- 资产文件assets/common/args.in536 B
- 资产文件assets/common/changelog.in8.5 KB
- 资产文件assets/common/deps.in1.5 KB
- 资产文件assets/common/dev.in1.6 KB
- 资产文件assets/common/lint.in1.9 KB
- 资产文件assets/common/options.parts600 B
- 资产文件assets/common/project.in3.3 KB
- 资产文件assets/common/release.in6.5 KB
- 资产文件assets/common/setup.in1.3 KB
- 资产文件assets/common/test.in1.7 KB
- 资产文件assets/common/troubleshoot.in433 B
- 资产文件assets/common/workflows.in627 B
- 资产文件assets/languages/bash/lint.parts1.1 KB
- 资产文件assets/languages/bash/project.parts129 B
- 资产文件assets/languages/bash/setup.parts226 B
- 资产文件assets/languages/bash/test.parts1.0 KB
- 资产文件assets/languages/go/deps.parts663 B
- 资产文件assets/languages/go/dev.parts374 B
- 资产文件assets/languages/go/lint.parts1.3 KB
- 资产文件assets/languages/go/project.parts45 B
- 资产文件assets/languages/go/setup.parts159 B
- 资产文件assets/languages/go/test.parts814 B
- 资产文件assets/languages/java/deps.parts1.0 KB
- 资产文件assets/languages/java/dev.parts308 B
- 资产文件assets/languages/java/lint.parts980 B
- 资产文件assets/languages/java/project.parts595 B
- 资产文件assets/languages/java/setup.parts385 B
- 资产文件assets/languages/java/test.parts1.3 KB
- 资产文件assets/languages/js/deps.parts553 B
- 资产文件assets/languages/js/dev.parts226 B
- 资产文件assets/languages/js/lint.parts1.2 KB
- 资产文件assets/languages/js/project.parts204 B
- 资产文件assets/languages/js/setup.parts651 B
- 资产文件assets/languages/js/test.parts472 B
- 资产文件assets/languages/ruby/deps.parts460 B
- 资产文件assets/languages/ruby/dev.parts141 B
- 资产文件assets/languages/ruby/lint.parts699 B
- 资产文件assets/languages/ruby/project.parts138 B
- 资产文件assets/languages/ruby/setup.parts405 B
- 资产文件assets/languages/ruby/test.parts787 B
- 参考文档references/ecosystems.md827 B
- 参考文档references/release.md1.7 KB
- 脚本scripts/bootstrap5.1 KB
- 脚本scripts/bootstrap_test.py17.8 KB
- 脚本scripts/bootstrap.test.sh168 B
- 脚本scripts/commands.test.sh14.7 KB
03 SKILL.md 正文
Maintainer workflow commands
Keep project commands small. Generate only the workflows and languages needed. Preserve existing names, runners, CI, and project conventions.
Bootstrap
-
Inspect the project, including nested manifests, lockfiles, existing scripts, and CI. Identify languages that need workflows; ignore dependencies, build output, and the generated wrappers themselves. See ecosystems.
-
Select missing commands and languages. Run this internal tool from the skill directory; it writes files but runs no project commands or installs:
scripts/bootstrap --files=deps,lint,test,setup --lang=js,java,bash --output=/path/to/projectFiles:
setup,dev,test,lint,deps,workflows,troubleshoot,changelog,release. Languages:bash,ruby,js,go,java;shaliasesbash. -
Bootstrap refuses overwrites. For an existing workflow, generate into a scratch directory and adapt the result. Keep names such as
bin/runtests; update companion scripts to call the project's actual entrypoints. -
Generated scripts contain only selected language sections, including help, flags, routing, and helpers. Commands share argument parsing and step results in
bin/lib/project.sh. Bash is their interpreter regardless of which test languages were selected. They have no runtime dependency on this skill. -
Adapt tool choices and paths. Remove unused steps; replace project-specific assumptions.
bin/workflowsindexes executable commands from their# <name> — <description>headers without executing them. -
Test the result, run lint then tests, and connect the actual commands to CI and AGENTS.md. Do not copy this skill's test harness into the project blindly.
Contracts
- Language flags select suites:
--javadetects Maven/Gradle and prefers the wrapper. Never replace it with--mavenor--gradle. No flag runs detected selected languages; paths narrow the run, and flags filter paths. testJava directories select*Test.java,*Tests.java, and*IT.javarecursively; empty selections fail. Selectors use simple class names. Adapt duplicate names and integration-test tasks to the project.lintchecks by default;--autofixapplies supported fixes. Java lint and fallback JS lint scripts run project-wide. Adapt fallback JS autofix explicitly.setup --checkchecks tools.depslists by default;--patch,--minor, or--majorrequests updates. It never commits.setup,dev,test,lint,deps, andreleasesupport--dry-run. Batch commands continue after failed steps. Exit: 0 success, 1 failure, 2 usage, 9 missing tool. Preserve existing project exit conventions.troubleshoot <target> [ARGS...]is intentionally empty: it prints "empty for now". Add checks only when the project needs them; remote targets should print commands for the user to run.releaseuses hand-written Unreleased notes andchangelog nextfor version suggestions. Generate both companions when missing, plus lint/test entrypoints. Read the release contract before adapting or running it.
Verify the skill
Run bin/maintainer-workflow-commands.test.sh from the dotfiles repository.
It tests generation, language exclusion, workflow behavior, and release safety
in scratch projects, using stubs for external commands. Run bin/gen_skills_readme
after editing this skill.
04 同仓库更多 Skills
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment
writing-plans
Use when you have a spec or requirements for a multi-step task, before touching code
wrap-up
Scan the current conversation and produce a structured session close-out: deferred items, open questions, decisions made, and the single clearest next action. Ends with a ready-to-paste "next session opener" prompt. Use this skill whenever the user says "/wrap-up", "/deferred", "wrap up this session", "what did we defer", "what's left", "end of session summary", or asks what to pick up next time.
verification-before-completion
Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always
using-superpowers
Use when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions
using-git-worktrees
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback