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.

Install it, pinned
mdr add aktsmm/agent-skills/refactor-context@git:20261018.a6d0f06

Pins 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

The exact contents, by fingerprint
mdr add aktsmm/agent-skills/refactor-context@sha256:74ea72c6b3f2f2f2

The 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_hz3zi7zmx56rvbba.svg)](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.

versioncommittedcommitsizeaudit
git:20261018.a6d0f06 latest2026-10-18 a6d0f06 5,685 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • 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

GitHub

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.

More from aktsmm/agent-skills

agentic-workflow-guide SKILL.md skill
aktsmm/agent-skills · agentic-workflow-guide/SKILL.md · Design, review, and debug agent workflows, and decide when a request should use a prompt, instruction, skill, agent, or…
git:20261104.b6d2e8b · audit A · 26 stars
ai-cli-benchmark SKILL.md skill
aktsmm/agent-skills · ai-cli-benchmark/SKILL.md · Design, run, and review fair performance, token, and cost comparisons across GitHub Copilot CLI, Codex CLI, and direct…
git:20261022.387b228 · audit A · 26 stars
analyze-copilot-sessions SKILL.md skill
aktsmm/agent-skills · analyze-copilot-sessions/SKILL.md · Analyze historical VS Code GitHub Copilot Chat sessions by model, reasoning effort, AIU, time, reliability, workflow…
git:20261026.133d3e3 · audit A · 26 stars
animated-infographic SKILL.md skill
aktsmm/agent-skills · animated-infographic/SKILL.md · Create reproducible animated infographic GIFs from structured data or measured results, with audience-language labels…
git:20261004.e1c4ed1 · audit A · 26 stars
archify SKILL.md skill
aktsmm/agent-skills · archify/SKILL.md · Create polished, validated architecture, workflow, sequence, data-flow, and lifecycle/state diagrams as explorable…
v3.0 · audit A · 26 stars
ascii-banner SKILL.md skill
aktsmm/agent-skills · ascii-banner/SKILL.md · Generate ASCII-art text banners for terminals, READMEs, and CLI startup messages. Use when a user asks for an ASCII…
git:20261001.2b7a422 · audit A · 26 stars
azure-advisor-report SKILL.md skill
aktsmm/agent-skills · azure-advisor-report/SKILL.md · Generate Azure environment monthly report (Markdown + PowerPoint) from Azure Advisor and Cost Management API. Use when…
git:20261004.de613c1 · audit A · 26 stars
azure-env-builder SKILL.md skill
aktsmm/agent-skills · azure-env-builder/SKILL.md · [Alpha] Experimental Azure environment builder for infrastructure and deployment design. Use when building Azure…
git:20261004.e1c4ed1 · audit A · 26 stars
azure-infra-validation SKILL.md skill
aktsmm/agent-skills · azure-infra-validation/SKILL.md · Build and validate Azure infrastructure in a lab or sandbox using Azure CLI and official Microsoft docs. Use when…
git:20261022.c08e9e0 · audit A · 26 stars
azure-screenshot-mask SKILL.md skill
aktsmm/agent-skills · azure-screenshot-mask/SKILL.md · Mosaic environment-sensitive areas (tenant name, user avatar, subscription name / ID, resource group, internal…
git:20261004.e1c4ed1 · audit A · 26 stars
azure-troubleshooting SKILL.md skill
aktsmm/agent-skills · azure-troubleshooting/SKILL.md · Investigate Azure incidents and service degradations with a read-only workflow using Azure CLI, Resource Health…
git:20261004.e1c4ed1 · audit A · 26 stars
azure-update-customer-pptx SKILL.md skill
aktsmm/agent-skills · azure-update-customer-pptx/SKILL.md · Build a customer-facing Azure Update PowerPoint from Azure Updates MCP results, including customer classification…
git:20261014.48a6cca · audit A · 26 stars

Every file in aktsmm/agent-skills

Browse by kind, by grade A, or by owner.