refactor-context SKILL.md skillA
refactor-context from aktsmm/agent-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add aktsmm/agent-skills/refactor-context@git:20261018.a6d0f06Pins git:20261018.a6d0f06 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- aktsmm/agent-skills
- Path
refactor-context/SKILL.md- Versions recorded
- 1
- Latest version
- git:20261018.a6d0f06, committed Oct 18, 2026
- Size
- 5,685 bytes
- Repository stars
- 26
- License
- a license file GitHub does not identify
指定スコープの instruction / agent / skill をコンテキスト最適化する。単一ファイルも複数ファイル群の MECE 横断レビューも扱う。構造レビューは review-workflow-structure の担当.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
<!-- syncToGlobal: true --> <!-- author: aktsmm --> <!-- repository: https://github.com/aktsmm/Agent-Customization --> <!-- license: CC BY-NC-SA 4.0 --> <!-- copyright: Copyright (c) 2025 aktsmm --> # refactor context ## When to Use - 使う: 単一ファイル内のコンテキストを圧縮・整理 - 使う: 複数ファイル群を横断して SSOT / DRY / SRP / MECE / スコープ適合を見る - 使わない: SKILL 本文の設計、新規 agent / workflow の scaffold ## モードとスコープ - モード: `自動` / `オート` / `auto` 含む → オート(不可逆・影響大は提案止まり)。それ以外は確認モード - スコープ: `指定なし` は対象のみ / `ALL` / `Global` (=`~/.copilot/` の instructions・skills・agents) / `ALL + Global` - 対象外(明示指定なき限り): `.github/skills/`, `.vscode/settings.json` - スコープ境界: `Global` 対象は `~/.copilot` 内で完結させる。明示許可なしに現在の workspace / repo へ移動・分割・SSOT 化を提案しない - 現在 workspace は参照情報としてだけ使う。配置先提案の既定にしない ## 判断ルール 目標: 対象ファイルを AI が判断できる最小情報に圧縮する。人間向け可読性は二次 - 削除を先に判定し、必要な残りだけを圧縮する。記述なしでも正常・例外・停止時の判断が変わらない一般論 / 自明な説明 / 装飾 / metadataの言い換え / 重複 / 役割が消えた節 / 無効なルール・exampleは、短く言い換えて残さない - 残す: 判断に必要なユーザー固有事実 / ID / パス / 方針、参考 URL・判断に効く設計根拠、Example(最低 1 つ)、非自明な手順。具体的な失敗条件・引数・承認範囲・未検証要件・停止・復旧手順は自明扱いせず残す - 圧縮: 必要だが冗長な定義・前置き・エラー例。統合済みの重複を削るときは、許可スコープ内の参照先と実際の読み込み経路で同じ判断が成立することを確認する …
Read the whole file at its exact version.
How to install
mdr add aktsmm/agent-skills/refactor-context@sha256:74ea72c6b3f2f2f2The line at the top of this page pins the label git:20261018.a6d0f06, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_hz3zi7zmx56rvbba)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Oct 18, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (5685 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
aktsmm/agent-skills · 26 stars · license a license file GitHub does not identify · pushed 2026-11-04 · branch master
API
GET https://markdownregistry.com/api/v1/artifacts/art_hz3zi7zmx56rvbba GET https://markdownregistry.com/api/v1/resolve?ref=aktsmm/agent-skills/refactor-context GET https://markdownregistry.com/api/v1/blob/74ea72c6b3f2f2f2f55c226c886fa2fb7920521741813562a3d94731a2d832c3
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.