From super-tax-agent
Create a git branch, stage only skill and reference files, commit, push, and open a GitHub PR with anonymized evidence. Use after tax-evolve applies fixes, or when contributing manual improvements.
npx claudepluginhub fangyi-chen/tax-marketplace --plugin super-tax-agentThis skill is limited to using the following tools:
Submit skill improvements as a GitHub pull request. Stages only safe files (never user data), shows a full diff for review, and opens a PR with anonymized context.
Stages all changes, commits tersely, pushes to claude/* branch if needed, and opens draft GitHub PR with detailed description using authenticated gh CLI. Use on explicit request for one-flow PR creation.
Creates, updates descriptions, and adds comments to GitHub pull requests using file-based drafts for safety, emphasizing material impact and reviewer-friendly communication.
Redirects 'create-pr' invocations and legacy skill references to sentry-skills:pr-writer workflow for writing and updating pull requests.
Share bugs, ideas, or general feedback.
Submit skill improvements as a GitHub pull request. Stages only safe files (never user data), shows a full diff for review, and opens a PR with anonymized context.
Invocation: /tax-publish [description]
[description] — optional short description for the branch name (e.g., fix-ctc-phaseout)improvementgit --versiongh --versiongit status.claude-plugin/plugin.json must exist with a repository field.Read .claude-plugin/plugin.json and extract the repository field.
If repository is empty or missing:
"The
repositoryfield in.claude-plugin/plugin.jsonis not set. Please add your GitHub repository URL (e.g.,https://github.com/your-username/your-repo) and run/tax-publishagain."
Stop if no repository is configured.
/tax-evolve (argument starts with evolve-): use prefix evolve/contrib/Format the date as YYYY-MM-DD.
Branch name: {prefix}{description}-{date}
Examples:
evolve/fix-ctc-phaseout-2026-04-02contrib/add-estimated-payments-question-2026-04-02git checkout -b {branch-name}
If the branch already exists, append a short random suffix or increment a counter.
Determine which files have been modified since the last commit:
git status --short
Filter to only include safe files — those that match these patterns:
skills/*/SKILL.mdskills/*/references/*.md.claude-plugin/plugin.jsonpackage.jsonREADME.mdforms/*.pdfNEVER stage these paths:
data/ (all user tax data — gitignored, but verify)*.pdf outside of forms/ (user-generated forms)profile, calculation, comparison, evolution-log, output)Show the user the list of files that will be staged and ask for confirmation before proceeding.
git diff HEAD -- {safe-files-list}
Display the full diff to the user and say:
"Please review the above diff carefully. If you see any personal information (names, SSNs, dollar amounts from your return), say 'stop' and do not proceed. Otherwise, say 'looks good' to continue."
Wait for the user's explicit confirmation before proceeding.
Stage only the approved files:
git add {safe-files-list}
Verify staging:
git status --short
Confirm that data/ and any PDF outside forms/ are NOT staged.
Write a structured commit message:
fix(skills): {short description of what changed}
Changes:
- {file 1}: {what was changed}
- {file 2}: {what was changed}
Root cause: {classification from tax-evolve, if available}
Evidence: {anonymized line deltas — e.g., "Line 19 CTC: under by ~18%"}
No user PII included in this commit.
Commit:
git commit -m "{structured message}"
git push -u origin {branch-name}
If the push fails due to authentication, tell the user:
"Push failed. Ensure you are authenticated with
gh auth loginand have write access to the repository."
Use the GitHub CLI to open a PR:
gh pr create \
--title "{short description}" \
--body "{pr body}" \
--base main
PR body format:
## Summary
- {bullet: what changed}
- {bullet: what changed}
## Root Cause
{Classification from tax-evolve: calculation_error / missing_data / missing_domain}
{Brief explanation of the rule that was wrong or missing}
## Evidence (Anonymized)
| Line | Description | Direction | Delta % |
|------|-------------|-----------|---------|
| 19 | Child Tax Credit | under | ~18% |
_No user PII included. Deltas are directional percentages only._
## Test Plan
- [ ] Run `/tax-calculate` on a sample return and verify line {N} now matches expected value
- [ ] Run `/tax-compare` on the sample return to confirm mismatch is resolved
- [ ] Review SKILL.md changes for correctness
🤖 Generated with Claude Code tax-agent self-evolution
After the PR is created, display the URL:
"PR submitted: {url}" "Thank you for helping improve the tax agent! The maintainer will review your proposed fix."
git is not available, tell the user to install Git.gh is not available, tell the user to install GitHub CLI: brew install gh or https://cli.github.comgh auth status fails (not logged in), tell the user to run gh auth login.git checkout main to return to the main branch."No skill files have been modified. Nothing to publish."