Contribution Flow
How incoming contribution issues are analyzed for duplicates, scored for overlap, and reviewed with AI
The aitasks framework provides a complete toolkit for both sides of open-source contribution: contributors who want to share improvements, and maintainers who need to review, import, and implement those contributions. Four complementary features work together to create a streamlined contribution lifecycle.
ait issue-importImport issues from your issue tracker (GitHub, GitLab, Bitbucket) as structured aitasks, implement them through the standard workflow, and automatically close them with implementation notes.
Who uses it: Maintainers managing incoming issues.
Flow:
Issue tracker → ait issue-import → aitask → /aitask-pick → Implementation → Auto-close issue
See the Issue Tracker workflow for full details.
/aitask-pr-importImport pull requests as aitasks with AI-powered code review. Instead of merging PRs directly, extract the contributor’s intent and approach, validate against project conventions, and produce a task that goes through the standard implementation cycle — with proper attribution back to the original contributor.
Who uses it: Maintainers reviewing incoming PRs.
Flow:
Pull request → /aitask-pr-import → AI analysis → aitask + plan → /aitask-pick → Implementation
→ Commit (with Co-authored-by) → Archive → PR closed with notes
See the PR Import workflow for full details.
/aitask-contributeThe /aitask-contribute skill offers a simpler alternative to the usual fork → branch → PR flow. It helps contributors package local changes into a structured issue that a maintainer can later import as an aitask.
Who uses it: Contributors who want to share improvements with the aitasks framework or with a project repository that uses aitasks.
How it works:
/aitask-contribute helps select the relevant area and filesNo fork required. The contributor just makes the change locally and lets the skill package it for maintainer review.
/aitask-contribution-reviewThe /aitask-contribution-review skill provides AI-powered review of contribution issues. It fetches the target issue, searches for duplicates and related contributions (using fingerprint overlap scores and linked issue references), analyzes code diffs, and recommends whether to merge multiple issues into one task, import individually, fold into existing tasks, or update an existing task directly.
Who uses it: Maintainers reviewing incoming contribution issues.
Flow:
Contribution issue → /aitask-contribution-review → Duplicate check → Overlap analysis
→ AI diff review → Merge/single/fold/update decision → ait issue-import → aitask
See Contribution Flow for the full workflow and technical details.
The four features connect to form a complete lifecycle:
Contributor's local repo Destination repository
────────────────────── ──────────────────────
1. Make local modifications
│
2. /aitask-contribute
│
3. AI analyzes changes ──────────────────────► Issue created (GH/GL/BB)
+ embeds fingerprint metadata with fingerprint metadata
│
3a. CI/CD overlap analysis
(automatic, if configured)
│
4. /aitask-contribution-review
- duplicate check
- related issue search
- AI diff analysis
│
5. Import decision
(merge / single / fold /
update existing)
│
6. aitask created (with
contributor metadata)
│
7. /aitask-pick
│
8. Implementation
│
9. Commit with
Co-authored-by trailer
│
10. Issue auto-closed
with notes
Attribution is preserved throughout the entire lifecycle:
/aitask-contribute — The issue includes the contributor’s identity and fingerprint metadata/aitask-contribution-review — When the maintainer reviews and imports the issue, contributor metadata (contributor, contributor_email) is extracted and stored in the task’s frontmatter/aitask-pick — During implementation, the task workflow detects contributor metadata and includes a Co-authored-by trailer in commit messages:feature: Add portable sed helper (t142)
Co-authored-by: contributor-name <contributor@example.com>
This works identically for contributions arriving via PR (/aitask-pr-import) or via issue (/aitask-contribute + /aitask-contribution-review).
For merged contributions (multiple issues imported as one task via /aitask-contribution-review):
Co-authored-by trailerrelated_issues frontmatter| Aspect | Traditional PR | /aitask-contribute workflow |
|---|---|---|
| Requires fork | Yes | No |
| Requires branch | Yes | No |
| Code review | Manual PR review | AI-powered analysis + overlap detection |
| Duplicate detection | Manual | Automatic (fingerprint scoring + AI review) |
| Merge | Direct merge or rebase | Re-implemented through aitask workflow |
| Attribution | Git history | Co-authored-by trailer (multi-contributor for merged imports) |
| Multiple changes | One PR per change | Multiple issues from one session, grouped automatically |
| Maintainer effort | Review + merge | AI-assisted review → import → implement |
How incoming contribution issues are analyzed for duplicates, scored for overlap, and reviewed with AI