跳到正文
cccskills
免费在 GitHub 公开

add-github-permalinks

Add GitHub permalinks with fixed SHA/commit references to research documentation containing code snippets. Use when writing technical docs with code examples, creating investigation/research docs that reference source files, user asks to "add permalinks" or "add GitHub links", documenting code research findings with file:line references, or creating audit trails needing permanent code references. Triggers on "add github links", "add permalinks", "link to source", "make code references permanent".

中文简介正在准备中。当前显示原文说明。

集成工具GitHub
查看安装方法

包含的文件(1)

  • SKILL.md3.0 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Add GitHub Permalinks

Add permanent GitHub file URLs to research documentation so code references don't break when files change.

Workflow

1. Identify Repositories

Scan the document for code references to determine which repositories are involved:

# Common patterns to detect:
repos/{repo}/path/to/file.rb:123     → submodule repo
app/models/user.rb:45                → current repo
commit abc123 in org/repo            → external repo

2. Get SHA for Each Repository

# For submodule repos
cd repos/{repo} && git rev-parse HEAD

# For current repo
git rev-parse HEAD

# For historical commits - use the commit SHA directly

3. Add Permalinks to Code Blocks

Transform code block comments from local paths to GitHub permalinks:

Before:

# app/models/user.rb:45-50
def example_method
  # implementation
end

After:

# app/models/user.rb:45-50
# https://github.com/{org}/{repo}/blob/{SHA}/app/models/user.rb#L45-L50
def example_method
  # implementation
end

4. Update Reference Tables

Convert plain file paths to clickable markdown links:

Before:

FileLineContent
app/models/user.rb45method definition

After:

FileLineContent
app/models/user.rb45method definition

5. Add Reference SHAs Header

Add a reference section at the top of Technical Notes or similar sections:

> **Reference SHAs (Permalinks):**
> - **{repo}**: [`{short_sha}`](https://github.com/{org}/{repo}/tree/{SHA}) (YYYY-MM-DD)

Permalink Format

https://github.com/{org}/{repo}/blob/{SHA}/{path}#L{start}-L{end}
ComponentExampleNotes
orgmyorgGitHub organization or username
repomyrepoRepository name
SHAc617ebdcda...Full or short (10+ chars) commit SHA
pathapp/models/user.rbFile path from repo root
#L{n}#L45Single line anchor
#L{n}-L{m}#L45-L50Line range anchor

Checklist

  • Identify all repositories referenced in document
  • Get current HEAD SHA for each repo (or use historical commit SHA if specified)
  • Add permalink comment below file path comments in code blocks
  • Convert file paths in evidence/reference tables to clickable links
  • Add Reference SHAs section documenting which commits are used
  • Update document changelog noting permalink addition

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Fetch Airbnb income estimate (ADR, occupancy, monthly revenue) for any area using the official Airbnb GraphQL API — the same data the Airbnb host simulator shows. Input: station/area name. Output: per-night rate, avg nights, monthly estimate for entire_home and private_room.

中文简介正在准备中。当前显示原文说明。

t4ku/agent-skills52026年10月7日 更新

やりたいことを1行で言うと、B 型 loop engineering の 7 要素 (context / feedback / verification gate / termination / error handling / state / cost guard) を埋めた loop spec をコピペ可能な形で生成する。生成した spec は現行 Claude Code の実行プリミティブ (Workflow ツール / /loop skill / ralph-loop plugin / claude -p) に落とせる骨格になる (旧 `claude --goal` は廃止)。10 件 failure mode (F1-F10) の対策フックも自動挿入。Hybrid モード: 1 行入力 → デフォルト埋めで一発出力 → 「ここを調整したい」場所だけ短く聞き直す。Use when ユーザーが「loop を作りたい / loop-design / 自走ループ書いて / Workflow 用の spec 作って / 7 要素埋めて / verification gate ありで」と言ったとき、または `/loop-design` を実行したとき。Loop engineering の理論背景は Cards/loop-engineering-autonomous-agents、失敗モード対策は Cards/loop-failure-modes-mechanism-2026 を参照。

中文简介正在准备中。当前显示原文说明。

t4ku/agent-skills52026年10月7日 更新

Run a project's GitHub Issues through Orca Workers from a coordinating session in the project's Hub folder. The Orchestrator reads Issues, claims one, dispatches an Orca Task into a fresh worktree of the target repo, supervises until worker_done, and writes the outcome back to the Issue — it never edits code itself. Use when the user says "take

中文简介正在准备中。当前显示原文说明。

t4ku/agent-skills52026年10月7日 更新

show-me

免费

Help the user understand the current topic visually with concise diagrams, code-shape sketches, and focused HTML artifacts. Use when the user asks to show / diagram / visualize / sketch / illustrate what is going on, asks "what does this look like", "how does this flow", "show me the structure", or in Japanese 図で見せて / 図解して / 図にして / 構造を見せて / フローを見せて / 全体像を見せて / どうつながってるか見せて. Also use it proactively when an explanation is running long and a call tree, file tree, component tree, diff, Mermaid diagram, or a small HTML artifact would land faster than prose.

中文简介正在准备中。当前显示原文说明。

t4ku/agent-skills52026年10月7日 更新

Vendor (copy-import) a single external Claude Code skill into your own skills repo correctly — with license compliance and full provenance/attribution. Deterministic, idempotent primitive: given an upstream ref (owner/repo/path@sha or a GitHub URL) it fetches the skill, detects and gates on the license, copies the folder, injects a provenance frontmatter block (license + metadata: author/source/upstream_commit/vendored_at/provenance), ships the upstream LICENSE, adds a ## Credits section, and records a CREDITS.md ledger entry. Use when the user asks to "vendor a skill", "import a skill", "clone a skill", "borrow someone's skill", "add an external skill with attribution/credit", or スキルを取り込む / vendoring / 他人のスキルを自分のリポに取り込む. This is the import primitive that a skill-scout/curator orchestrator calls; it does NOT discover or evaluate — it correctly imports ONE skill you already chose.

中文简介正在准备中。当前显示原文说明。

t4ku/agent-skills52026年10月7日 更新

Generate PPTX slide decks from a speech script or talking points — built for the 5-minute Monday morning speeches at Syla. Use when the user already has a script / 原稿 / メモ and asks to turn it into slides, a deck, or a presentation. Not for slides derived from a video — use youtube-slide-maker for that. Uses PptxGenJS directly (NOT html2pptx.js). Provides 4 slide template patterns, D3.js chart generation, and AI image integration.

中文简介正在准备中。当前显示原文说明。

t4ku/agent-skills52026年10月7日 更新

查看 t4ku 的全部技能

报告此技能的问题