AIWG贡献工作流初始化
contribute-start
通过创建功能分支、配置 DCO(开发者原创声明)并关联跟踪 issue 来初始化 AIWG 贡献工作流。
- License 许可
- MIT
- 所属仓库
- jmagly/aiwg
- 最近更新
- 2026-11-14
- Stars
- ★ 229
- Forks
- 36
01 前言 Front Matter
- name
- contribute-start
- namespace
- aiwg
- platforms
- [ "all" ]
- description
- Initialize an AIWG contribution workflow by creating a feature branch, configuring DCO, and linking a tracking issue
03 SKILL.md 正文
Contribute Start
You initialize a contribution workflow for AIWG itself: create a feature branch, configure DCO (Developer Certificate of Origin), link to a tracking issue, and set up a working directory for the contribution.
Triggers
Alternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description):
- "I want to add a feature to AIWG" → init contribution for new feature
- "set up my branch for this fix" → init contribution for bug fix
- "how do I contribute?" → explain contribution flow and offer to initialize
- "start a PR" → initialize contribution and set up branch
Trigger Patterns Reference
| Pattern | Example | Action |
|---|---|---|
| Contribute start | "contribute start" | Run aiwg contribute-start |
| New contribution | "new contribution" | Run aiwg contribute-start |
| Init contribution | "init contribution" | Run aiwg contribute-start |
| Start contributing | "start contributing to aiwg" | Run aiwg contribute-start |
| With issue | "start contribution for issue #42" | Run aiwg contribute-start --issue 42 |
| With description | "start a contribution for adding voice support" | Run aiwg contribute-start --description "adding voice support" |
Behavior
When triggered:
-
Extract intent:
- Is there an issue number to link? (e.g., "for issue #42")
- Is there a description to use for the branch name?
- What type of contribution: feature, fix, docs, refactor?
-
Run the appropriate command:
# Default: interactive contribution initialization aiwg contribute-start # Link to a specific tracking issue aiwg contribute-start --issue 42 # With branch description (slugified automatically) aiwg contribute-start --description "add voice support to deploy command" # Specify contribution type aiwg contribute-start --type feat aiwg contribute-start --type fix aiwg contribute-start --type docs -
Report the result — confirm the branch name, DCO status, and working directory path.
What Gets Set Up
| Step | What Happens |
|---|---|
| Branch creation | feat/<slug> or fix/<slug> branch created from latest main |
| DCO config | .git/hooks/commit-msg DCO hook installed if not present |
| Working directory | .aiwg/working/contributions/<branch-name>/ created for drafts |
| Issue link | Branch description references issue number if provided |
| Contribution notes | CONTRIBUTING.md read and summarized for context |
DCO Note
AIWG contributions require a Developer Certificate of Origin sign-off on each commit:
Signed-off-by: Your Name <your@email.com>
The contribute-start command installs a commit-msg hook that reminds you to include this. Pass -s to git commit to sign off automatically.
Examples
Example 1: Starting a feature contribution
User: "Start a contribution — I want to add cost tracking to the ralph command"
Extraction: Feature contribution, description provided
Action:
aiwg contribute-start --type feat --description "add cost tracking to ralph command"
Response: "Contribution initialized. Branch: feat/add-cost-tracking-to-ralph-command. DCO hook installed. Working directory: .aiwg/working/contributions/feat-add-cost-tracking-to-ralph-command/. Sign your commits with git commit -s."
Example 2: Contribution linked to an issue
User: "Start contribution for issue #312"
Extraction: Linked to issue 312
Action:
aiwg contribute-start --issue 312
Response: "Contribution initialized. Branch: feat/issue-312. Working directory created. Issue #312 linked in branch description."
Example 3: Bug fix contribution
User: "I'm going to fix the install-plugin path bug, set up my branch"
Extraction: Fix type, description from context
Action:
aiwg contribute-start --type fix --description "install-plugin path bug"
Response: "Contribution initialized. Branch: fix/install-plugin-path-bug. DCO hook installed. Ready to commit."
References
- @$AIWG_ROOT/src/cli/handlers/utilities.ts — Command handler
- @$AIWG_ROOT/docs/cli-reference.md — CLI reference
- @$AIWG_ROOT/docs/contributing/ — Contribution guidelines
04 同仓库更多 Skills
plugin-search
Search marketplaces for plugins using configured local manifests and directory caches; rank matching plugins by observed installs, review tier and cache dates without installing or fetching anything
plugin-search
Search marketplaces for plugins using configured local manifests and directory caches; rank matching plugins by observed installs, review tier and cache dates without installing or fetching anything
host-hardening
Read-only system hardening baseline and plan-first host hardening recommendations for SSH, Docker bind addresses, firewall persistence, datastores, exporters and audit retention.
exposure-analysis
Read-only firewall analysis and effective host exposure reconstruction for Docker published ports, UFW bypass, stale rules, CDN scope, IPv6 asymmetry and external probe allowlists.
host-hardening
Read-only system hardening baseline and plan-first host hardening recommendations for SSH, Docker bind addresses, firewall persistence, datastores, exporters and audit retention.
exposure-analysis
Read-only firewall analysis and effective host exposure reconstruction for Docker published ports, UFW bypass, stale rules, CDN scope, IPv6 asymmetry and external probe allowlists.