算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
contribute-publish【设计与创意】Publish one prepared OSS contribution action to GitHub after a fresh human approval boundary. Shows the exact target, content, command, commit, and test evidence before any mutation. Use when local preparation is complete and the user explicitly asks to post a claim, create a Design Issue, comment, push a branch, or open a pull request. Trigger with …
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
name: contribute-publish description: | Publish one prepared OSS contribution action to GitHub after a fresh human approval boundary. Shows the exact target, content, command, commit, and test evidence before any mutation. Use when local preparation is complete and the user explicitly asks to post a claim, create a Design Issue, comment, push a branch, or open a pull request. Trigger with "/contribute-publish" or "publish this prepared contribution". allowed-tools:
Perform exactly one approved GitHub mutation from a completed local preparation packet. This skill has no authority to discover unrelated work, create persistent state, install dependencies, or expand the approved scope.
contribute-prepare review packet with final content, target,
commit SHA, changed files, and passing evidence.Before any external action, show all of the following:
issue comment, issue create, pr create,
pr comment, or git push).Then ask for explicit approval for that exact action. Approval must appear in the current conversation after the review packet. Earlier blanket permission, installation, authentication, repository ownership, or approval of a different target does not count.
gh authentication; never request, read, or print a
token.gh issue comment "$ISSUE_NUMBER" --repo "$REPOSITORY" --body-file "$APPROVED_FILE"
gh issue create --repo "$REPOSITORY" --title "$APPROVED_TITLE" --body-file "$APPROVED_FILE"
git -C "$APPROVED_WORKTREE" push "$APPROVED_REMOTE" "$APPROVED_REFSPEC"
gh pr create --repo "$REPOSITORY" --head "$APPROVED_HEAD" --base "$APPROVED_BASE" \
--title "$APPROVED_TITLE" --body-file "$APPROVED_FILE"
These are examples, not permission to run them. Never combine multiple mutations under one approval unless the review packet explicitly lists each one.
publish this approved claim comment — show the final comment and target,
obtain fresh approval, post once, then read back the issue comment URL.open the prepared pull request — verify the prepared SHA and checks, show the
exact base/head/title/body, obtain fresh approval, create once, and read back
the pull request state.push this prepared branch — show the exact worktree, remote, commit, and
refspec; approval applies only to that push.Return the action performed, repository and target, resulting URL, resulting state read back from GitHub, and any remaining local-only follow-up.
| Condition | Response |
|---|---|
| No fresh explicit approval | Stop without mutation |
| Packet lacks tests, SHA, target, or final content | Return to contribute-prepare |
| GitHub rejects the action | Report the error; do not bypass controls |
| Target/content changed | Invalidate approval and present a new packet |