name: pr-context-artifacts
description: 'PR context artifact locations and refresh rules. Use when generating, reading, or inlining pr_context summary/appendix artifacts.'
PR Context Artifacts
Canonical locations and usage rules for PR context artifacts.
When to Use This Skill
Use this skill when:
You generate or refresh PR context artifacts.
You reference PR context summary/appendix as evidence.
You inline PR context artifacts into remediation handoffs.
Canonical Artifact Locations
Summary: artifacts/pr_context.summary.txt
Appendix: artifacts/pr_context.appendix.txt
Refresh Rule
If the artifacts are missing or stale relative to the current branch state, re-generate them using the repo’s PR context collector.
When PRBaseBranch is supplied explicitly, use that exact branch for refresh.
When PRBaseBranch is missing or ambiguous, resolve it first with pr-base-branch-merge-base before running the collector.
Do not infer the refresh base from the repository default branch unless merge-base resolution fails for all candidates.
Treat an already-fresh artifact pair as authoritative; do not refresh solely because no explicit PRBaseBranch input was provided.
1---2name: pr-context-artifacts-33description: Converted skill4---5# Converted skill67Applied rewrites:8- None910---11name: pr-context-artifacts12description: 'PR context artifact locations and refresh rules. Use when generating, reading, or inlining pr_context summary/appendix artifacts.'13---1415# PR Context Artifacts1617Canonical locations and usage rules for PR context artifacts.1819## When to Use This Skill2021Use this skill when:22- You generate or refresh PR context artifacts.23- You reference PR context summary/appendix as evidence.24- You inline PR context artifacts into remediation handoffs.2526## Canonical Artifact Locations2728- Summary: `artifacts/pr_context.summary.txt`29- Appendix: `artifacts/pr_context.appendix.txt`3031## Refresh Rule3233If the artifacts are missing or stale relative to the current branch state, re-generate them using the repo’s PR context collector.3435- When `PRBaseBranch` is supplied explicitly, use that exact branch for refresh.36- When `PRBaseBranch` is missing or ambiguous, resolve it first with `pr-base-branch-merge-base` before running the collector.37- Do not infer the refresh base from the repository default branch unless merge-base resolution fails for all candidates.38- Treat an already-fresh artifact pair as authoritative; do not refresh solely because no explicit `PRBaseBranch` input was provided.
Run npx get-skill add drmoisan/pr-context-artifacts-3 in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Converted skill It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
drmoisan (@drmoisan) published this skill. Their other Agent Skills are listed on their SkillMD profile.