{"id":49294994,"url":"https://github.com/wrathza/github-weld","last_synced_at":"2026-05-25T04:01:35.112Z","repository":{"id":352687644,"uuid":"1213859691","full_name":"WrathZA/github-weld","owner":"WrathZA","description":"Captures the why and how behind every merge — structured issues, correctly-named branches, and a session export Gist at every merge commit.","archived":false,"fork":false,"pushed_at":"2026-04-20T18:28:08.000Z","size":77,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-20T19:18:58.821Z","etag":null,"topics":["agent","ai","automation","claude-code","developer-tools","devex","gh-cli","git","github","knowledge-management","llm","productivity","pull-request","skills","workflow"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WrathZA.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-17T20:54:08.000Z","updated_at":"2026-04-20T18:28:07.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/WrathZA/github-weld","commit_stats":null,"previous_names":["wrathza/github-weld"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/WrathZA/github-weld","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WrathZA%2Fgithub-weld","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WrathZA%2Fgithub-weld/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WrathZA%2Fgithub-weld/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WrathZA%2Fgithub-weld/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WrathZA","download_url":"https://codeload.github.com/WrathZA/github-weld/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WrathZA%2Fgithub-weld/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32284333,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T18:29:39.964Z","status":"online","status_checked_at":"2026-04-26T02:00:05.962Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agent","ai","automation","claude-code","developer-tools","devex","gh-cli","git","github","knowledge-management","llm","productivity","pull-request","skills","workflow"],"created_at":"2026-04-26T03:01:44.639Z","updated_at":"2026-04-26T03:01:45.313Z","avatar_url":"https://github.com/WrathZA.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# github-weld 🪢\n\nGit records *what* changed. `gh-weld` captures *why* and *how*.\n\nEvery commit is a data point. A linked issue with acceptance criteria is information. A session export is knowledge: the reasoning, trade-offs, and decisions behind the code. `gh-weld` closes that chain automatically, at every merge.\n\nThe skills enforce a workflow, not a tech stack. They work with whatever you're building.\n\n## How it works\n\nGit gives you data: diffs and commit hashes. GitHub gives you information: issues, PRs, linked references. `gh-weld` closes the gap to knowledge: every merge carries a session export with the full reasoning trail, attached as a Gist at the exact commit it belongs to. `git blame` a line, follow the PR, read why the decision was made and what was ruled out.\n\n![github-weld workflow diagram](diagram.svg)\n\nThe payoff compounds. Run this loop and each issue becomes a structured artifact: acceptance criteria up front, a correctly-named branch, a merged PR, and a session transcript with the context commit messages never hold. Over time, you have a decision history: not just what the code does, but why.\n\n## Skills\n\n**[`/gh-weld-issue`](.claude/skills/gh-weld-issue/):** Work without a tracking anchor leaks context. Creates a structured issue via a guided interview: duplicate check, acceptance criteria, and label discovery.\n\n**[`/gh-weld-next`](.claude/skills/gh-weld-next/):** The gap between intent and execution is where context gets lost. Picks an open issue, creates a correctly-named branch, and hands off to implementation.\n\n**[`/gh-weld-ship`](.claude/skills/gh-weld-ship/):** A merge captures more context than any other moment in the delivery cycle, and it's the most likely to go undocumented under pressure. Wraps finished work in a PR, squash-merges it, closes the linked issue, and exports the session as a Gist attached to the merge.\n\n**[`/gh-weld-export`](.claude/skills/gh-weld-export/):** The reasoning behind a decision lives in the session. Once the context window is cleared, it's gone. Exports the Claude Code session as a Gist and posts a structured summary comment to any PR or issue.\n\n**[`/gh-weld-adopt`](.claude/skills/gh-weld-adopt/):** Ad-hoc work without an issue disappears from the history. Retroactively creates a structured issue, renames the branch to match, commits loose changes, and exports the session.\n\n**[`/gh-weld-setup`](gh-weld-setup/):** Starting a project right takes several steps that are easy to skip or misconfigure. Scaffolds `README.md` and `CLAUDE.md` via a guided abstract interview, wires gh-weld conventions into the project, and creates a GitHub repo if one doesn't exist. Replaces the separate `gh-weld-install` and `gh-weld-init` skills.\n\n## Installation\n\nThe skills form a single loop — install all of them. A partial install leaves the workflow broken at the step you skipped.\n\n**Via Claude Code plugin marketplace** (no clone required):\n\n```\n/plugin marketplace add WrathZA/github-weld\n/plugin install gh-weld-issue\n/plugin install gh-weld-next\n/plugin install gh-weld-ship\n/plugin install gh-weld-export\n/plugin install gh-weld-adopt\n/plugin install gh-weld-activity\n/plugin install gh-weld-setup\n```\n\n**Via symlink script** (for local development or if you prefer cloning):\n\n```bash\ngit clone https://github.com/WrathZA/github-weld\ncd github-weld\nbash symlink-global-skills.sh\n```\n\nThis symlinks each skill directory into `~/.claude/skills/`, making them available in any project. To update, pull and re-run the script — existing symlinks are left in place.\n\n## Requirements\n\n- [Claude Code](https://claude.ai/code) (or equivalent AI coding agent, untested with others)\n- [gh CLI](https://cli.github.com/) authenticated (`gh auth login`)\n- `git`\n- `python3` (used by `/gh-weld-export` to parse session files and generate the transcript Gist)\n\n## If a session goes off track\n\nSessions stray. You pick an issue, notice a gap, file another, run a recap that misses. Now the context window holds more than the task. The conversation itself is worth keeping.\n\nThe pattern: **export before you clear.**\n\n```\n/gh-weld-export → target the issue you were working on\n/clear\n/gh-weld-next → pick the same issue → read the export comment for context\n```\n\n`/gh-weld-export` works with issues, not just PRs. The session becomes a comment on the issue: discoverable, linkable, mineable later. The Gist holds the full transcript with line anchors to every key decision.\n\nThe principle: context not captured now is gone. A session export costs 30 seconds. The reasoning trail it preserves is the difference between a codebase you can learn from and one you can only read.\n\n## Conventions\n\nClaude Code's permission and safety systems have non-obvious interactions with shell execution: pipes, heredocs, and inline `gh` arguments all cause problems in practice. [`.weld/conventions.md`](.weld/conventions.md) documents the hard-won patterns these skills follow, so you don't have to rediscover them when extending or contributing.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwrathza%2Fgithub-weld","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwrathza%2Fgithub-weld","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwrathza%2Fgithub-weld/lists"}