github-post-attribution

Resolves repository URL, commit SHA, and model to generate GitHub attribution footers.

5|Updated Jul 25, 2025
Ready to run
npx skills add https://github.com/tomzx/agents --skill github-post-attribution
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: github-post-attribution
Source: https://github.com/tomzx/agents/tree/main/skills/github-post-attribution
Command: npx skills add https://github.com/tomzx/agents --skill github-post-attribution

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Resolves dot-claude commit SHA and GitHub URL for a skill's SKILL.md, and formats footers for comments or issue bodies posted via gh. Use whenever a skill posts to GitHub (PR comments, issue comments, issue create, review comments) so readers see which skill and which repo revision produced the content. Other skills reference this instead of duplicating steps.

Core Features & Use Cases

  • Resolve repository root, commit, and GitHub base URL
  • Link to the invoking skill's file
  • Append attribution footers to GitHub posts (comments, issue bodies) including the base URL, skill, and model
  • SDLC phase footer when posting during an sdlc pipeline

Quick Start

Invoke this attribution skill before posting to GitHub comments or issues to automatically append the invoking skill footer

Frequently Asked Questions about github-post-attribution

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add attribution footers to GitHub PR comments and issue bodies?▼

To add attribution footers to GitHub posts, invoke an attribution skill before posting. It resolves the base repository URL, commit SHA, and model name to generate verifiable footers linking to the invoking skill's SKILL.md.

Can I automatically link a GitHub comment to the exact repository revision it was generated from?▼

Yes, you can link a GitHub comment to a specific repository revision. The process resolves the current commit SHA and base repository URL, constructing final footer URLs that point to the exact file revision producing the content.

What is the best way to track which AI model generated GitHub content in an SDLC pipeline?▼

Tracking AI model generation in an SDLC pipeline is done by appending an attribution footer. This footer includes the model name, skill reference, and supports SDLC-phase awareness when posting content during pipeline operations.

Does this attribution approach work for GitHub review comments as well as issue bodies?▼

Yes, this attribution approach works for GitHub review comments and issue bodies. It formats footers specifically for comments, issue bodies, and reviews, ensuring readers see which skill and repository revision produced the content.

Why do I need an attribution skill instead of manually typing footers in GitHub?▼

You need an attribution skill to ensure accurate, verifiable footers without duplicating steps. It reads environment context from the running agent to construct final footer strings, preventing manual errors and maintaining consistency across GitHub operations.