跳到正文
cccskills
免费在 GitHub 公开

sync-copilot-customizations

~/.copilot の instructions と agents を、公開 repo(Agent-Customization)の .github へ安全に同期する。syncToGlobal の分類と機密監査を通し、公開前に差分を提示して承認を取る。

skill は対象外(private skills repo の retro / sync 系を使う)

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

aktsmm/Agent-Skills星标 26(GitHub 26 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(2)

  • SKILL.md5.3 KB
  • LICENSE.txt5.2 KB

SKILL.md(原文)

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

<!-- syncToGlobal: true --> <!-- author: aktsmm --> <!-- repository: https://github.com/aktsmm/Agent-Customization --> <!-- license: CC BY-NC-SA 4.0 --> <!-- copyright: Copyright (c) 2025 aktsmm -->

sync copilot customizations

~/.copilot の個人 instructions / agents を、公開 repo の .github/ へミラーする。~/.copilot は作業コピーで、正本は公開 repo。この skill 自身は同期対象外。

Scope

同期元同期先(公開 repo)
$HOME/.copilot/instructions/*.instructions.md.github/instructions/<category>/(repo 側の既存 mirror path)
$HOME/.copilot/agents/*.agent.md.github/agents/
  • 同期元は 1 フォルダごと(再帰しない)。instructions と agents は別々に実行する
  • 対象外: ~/.copilot/copilot-instructions.md、skills(private skills repo の retro / sync 系が担当)、mcp-config.json などの設定ファイル
  • repo / GitHub repo は $env:SYNC_USER_CUSTOMIZATIONS_REPO_DIR / $env:SYNC_USER_CUSTOMIZATIONS_GITHUB_REPO。未設定または path 不在なら確認する

Classification

ラベル条件扱い
public-safesyncToGlobal: true監査通過で同期対象
local-onlysyncToGlobal: false同期しない
ignored.github/.sync-ignore に載っている同期しない
needs-reviewsyncToGlobal が無い、または同期先が決まらない(複数 / 候補なし)停止して確認。新規 category path は作らない

Gates

  • 既定は公開前に承認を取る。dry-run の結果(追加・更新・削除候補、分類、監査、予定差分)を提示し、承認後だけ -Apply する。公開 repo への push を承認なしで行わない
  • review-only / 確認だけ / dry-run では dry-run だけで終える
  • 監査は push 前に 1 回。秘密鍵、password / API key / client secret / 接続文字列 / refresh token、ラベル付き GUID、メールアドレスを検出する。実値らしいヒットが出たら書き込まず停止し、ファイル・検出種別・件数だけ報告する。値は表示しない
  • 監査の通過だけでは公開可否は決まらない。個人アカウント、tenant / subscription ID、社内情報、端末固有値、個人の承認設定を含むファイルは、syncToGlobal: false でなければ停止して確認する
  • 削除候補は報告のみ。repo 専用資産と古い mirror を区別できないため、自動削除しない。削除は確認して別 commit で行う
  • 既存の未コミット差分はユーザー所有として扱い、混ぜない。分離できなければ停止する
  • 破壊的操作(git reset --hard など)をしない。一時ファイルは OS の temp に置き、完了前に削除する

Workflow

  1. 準備: repo の branch / origin(GitHub repo 名と照合)/ ahead-behind / dirty を確認する。script が無い・古いときは、clean を確認して fetch + fast-forward してから実行する(手作業で再実装しない)
  2. dry-run: 引数なしで実行する。-Source を必ず明示する(script の既定値は旧 %APPDATA%\Code\User\prompts で、空のフォルダ)
& "$env:SYNC_USER_CUSTOMIZATIONS_REPO_DIR\scripts\Sync-UserCustomizations.ps1" -Source "$HOME\.copilot\instructions"
& "$env:SYNC_USER_CUSTOMIZATIONS_REPO_DIR\scripts\Sync-UserCustomizations.ps1" -Source "$HOME\.copilot\agents"
  1. 確認: 結果を提示する。-Source に指定したフォルダ以外の repo 資産は「削除候補(報告のみ)」に並ぶが、同期元が違うだけなので削除しない。needs-review と実値らしい監査ヒットがあれば、ここで止める
  2. 承認後、同じコマンドに -Apply を付けて実行する。変更候補だけを明示パスで stage して commit・push し、remote == HEAD まで script が検証する。push が rejected なら fetch して ahead-behind と変更 path を確認し、競合がなければ取り込んでから再送する
  3. 完了確認: remote SHA = HEAD、clean、除外ファイルが公開されていないことを確認する。中断後は既存 commit と remote を照合し、反映済みの操作を再実行しない

Report

Summary:   結論を 1-3 行
Synced:    追加 / 更新
Excluded:  ファイル名 + 理由(local-only / ignored / needs-review)
Audit:     結果 + ヒット有無(値は書かない)
Commit:    SHA + メッセージ
Remote:    GitHub URL
Pending:   削除候補(報告のみ)、未同期の既存差分

不明点は最小限だけ確認し、それ以外は完了まで進める。

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

Design, review, and debug agent workflows, and decide when a request should use a prompt, instruction, skill, agent, or hook before escalating to multi-agent design. Use for .agent.md / .instructions.md / .prompt.md / AGENTS.md work, workflow architecture, orchestration planning, scheduled automation model allocation, or when agent workflows may be overkill. Triggers on 'agent workflow', 'create agent', 'automation models', 'ワークフロー設計', 'orchestrator'.

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

aktsmm/Agent-Skills262026年10月26日 更新

Design, run, and review fair performance, token, and cost comparisons across GitHub Copilot CLI, Codex CLI, and direct model APIs. Use for AI CLI benchmark, Copilot vs Codex, prompt-cache diagnosis, cache read/write analysis, fresh-process latency measurement, token-cost comparison, or when a benchmark must separate provider caching from local CLI caches.

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

aktsmm/Agent-Skills262026年10月26日 更新

Analyze historical VS Code GitHub Copilot Chat sessions by model, reasoning effort, AIU, time, reliability, workflow behavior, and external quality evidence, or safely prune workspace-scoped local chat history by age. Use for session analysis, repeated-task retrospectives, model evaluation, cost/performance analysis, and old session cleanup.

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

aktsmm/Agent-Skills262026年10月26日 更新

Create reproducible animated infographic GIFs from structured data or measured results, with audience-language labels, explicit timing semantics, representative-frame QA, and a static fallback. Use when asked for GIF生成, animated infographic, 動的インフォグラフィック, 結果が流れる図, animated benchmark, or a blog/SNS animation whose displayed metrics must remain traceable to source data.

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

aktsmm/Agent-Skills262026年10月26日 更新

archify

免费

Create polished, validated architecture, workflow, sequence, data-flow, and lifecycle/state diagrams as explorable standalone HTML with inline SVG, dark/light themes, optional trace motion, and PNG/JPEG/WebP/SVG/WebM export. Accept plain-language requirements or pasted Mermaid flowchart, sequenceDiagram, and stateDiagram input; inspect repository evidence when the diagram must reflect real code. Use when the user asks to visualize system architecture, infrastructure, cloud/security/network topology, technical workflows, API call sequences, request lifecycles, data pipelines, ETL/ELT, data lineage, state machines, or to convert/beautify Mermaid. Also use for Archify, interactive or animated HTML diagrams, インタラクティブ図, 動く構成図. When an editable .drawio file is required, use the draw.io workflow instead and treat Archify HTML only as a supplement.

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

aktsmm/Agent-Skills262026年10月26日 更新

Generate ASCII-art text banners for terminals, READMEs, and CLI startup messages. Use when a user asks for an ASCII banner, text art, バナー, アスキーアート, or a decorative header for a script/README.

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

aktsmm/Agent-Skills262026年10月26日 更新

查看 aktsmm 的全部技能

报告此技能的问题