EngramGraph: Skill for Claude Code

.agents/skills/pr-automation-assistant/SKILL.md

pr is a skill for Claude Code from AsiaOstrich/EngramGraph. It costs 74 tokens per session (1,430 once invoked), scanned A, original, MIT.

A reference guide for pull requests, which are proposed code changes submitted for review before they are merged. It provides templates, reviewer-selection guidance, and merge-policy advice, but its lifecycle automation is no longer included here.

In plain words
What is it for?
Use it to draft pull request titles and descriptions, list testing steps, choose reviewers from ownership rules, apply labels, and compare merge strategies.
Why use it?
It helps make change descriptions and review preparation consistent, while clearly separating documentation from the moved automation.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: installed under .agents/ (shared by several agents).

This is AsiaOstrich/EngramGraph's own configuration. It tells Claude Code how to work on EngramGraph itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything EngramGraph configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is 完整的 AI 行為定義請參閱對應的命令文件:[`/pr`](../commands/pr.md#ai-agent-behavior--ai-代理行為).

Reuse

Borrowing it

Nothing to install: this file belongs to AsiaOstrich/EngramGraph. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/AsiaOstrich/EngramGraph/main/.agents/skills/pr-automation-assistant/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/AsiaOstrich/EngramGraph

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pr

README.md
[![agentmods](https://agentmods.dev/badge/skills/asiaostrich/engramgraph/pr-automation-assistant/github.svg)](https://agentmods.dev/skills/asiaostrich/engramgraph/pr-automation-assistant)
Your own site
<a href="https://agentmods.dev/skills/asiaostrich/engramgraph/pr-automation-assistant"><img src="https://agentmods.dev/badge/skills/asiaostrich/engramgraph/pr-automation-assistant/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pr

Your own site · 80×15
<a href="https://agentmods.dev/skills/asiaostrich/engramgraph/pr-automation-assistant"><img src="https://agentmods.dev/badge/skills/asiaostrich/engramgraph/pr-automation-assistant.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,430 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00074 $0.01430
Opus 5.5 $0.00030 $0.00572
Sonnet 5.5 $0.00015 $0.00286
Haiku 4.5 $0.00007 $0.00143

Measured 14d ago against content hash 9267501925af, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pr scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 14d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/pr-automation-assistant/SKILL.md · 127 lines

How it starts

The opening of the file, as written. The whole thing — 127 lines — stays where its author put it; the contents beside it link to each section on GitHub.

PR Automation Assistant | PR 自動化助手

⚠️ Status: Reference(參考用,非可執行流程) — PR 生命週期協調(5 步驟 CREATE→REVIEW→APPROVE→MERGE→CLEANUP、>400 行 size gate、CI gate、squash/merge 策略、gh CLI 整合)已於 2026-04-28 移至 adoption layer(XSPEC-095)。此處保留 PR 描述模板、合併策略決策矩陣、auto-review 觸發規則供參考。 Lifecycle orchestration has moved to the adoption layer (XSPEC-095); this document is reference-only. For enforced execution, use your adoption layer's toolchain.

Streamline the pull request lifecycle from creation to merge.

簡化從建立到合併的 Pull Request 生命週期。

PR Creation Checklist | PR 建立檢查清單

Item Rule 規則
Title <type>(<scope>): <summary> under 70 chars 70 字元內,遵循 conventional commits
Description Use structured template below 使用下方結構化模板
Labels At least one category label 至少一個分類標籤
Reviewers Assign based on CODEOWNERS or domain 依 CODEOWNERS 或領域指派
Branch Up to date with base branch 與基礎分支同步

PR Description Template | PR 描述模板

## Summary | 摘要
<1-3 bullet points describing the change>

## Changes | 變更內容
- Added / Modified / Removed ...

## Test Plan | 測試計畫
- [ ] Unit tests pass
- [ ] Manual verification steps

## Screenshots | 截圖
(if UI changes)

Merge Strategy Decision | 合併策略決策

Strategy When to Use 使用時機
Squash merge Feature branches with messy commits 功能分支,提交記錄零散
Merge commit Release branches, preserve history 發布分支,保留完整歷史
Rebase Linear history, small changes 線性歷史,小幅變更

Auto-Review Triggers | 自動審查觸發條件

Read the full file on GitHub · 127 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 14d ago First seen · 127 lines · 74 tokens per session scan A 9267501925af

Subscribe to this mod's changes

pr is a skill published in the GitHub repository AsiaOstrich/EngramGraph (3 stars, last pushed today), licensed MIT. It adds 74 tokens to every session and 1,430 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-16.