Index of every page on this site: llms.txt
All skills
aktsmm avatar

/retro-private-skills

@9bedf91
by yamapanaktsmm/agent-skills27 stars
5
Run it yourself

Reflect reusable learnings into a private Agent Skills repository, align affected skills' frontmatter with their workflows, keep the generated skills index README current, and commit/push in safe-auto. Use for private skill retro, private SKILL.md or frontmatter fixes, or explicit skill intake. Not for editing installed skills or live workspace or user-wide assets.

Use this Skill: https://skilld.dev/gh/aktsmm/agent-skills/retro-private-skills

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesgit-safety.md

≈756 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Git Safety Procedure

Detailed Git handling for safe-auto. The inline gate in SKILL.md stays authoritative.

Mode Rules

  • Fetch once and classify dirty/ahead paths in one batched command before editing. If the original checkout is clean and current, edit it directly; isolate only when unrelated dirty or divergence exists (prefer git worktree add --detach over a full clone). Verify private remote/allowed commits, integrate behind/divergence before push and revalidate. In HEAD...refs/remotes/origin/<branch>, left is ahead/right behind. After interruption, fetch/read back before retrying; never resend reflected commits.
  • If Git repeats a HEAD.lock / couldn't set HEAD rename failure twice, answer n and stop retrying. Preserve uncommitted work; inspect HEAD, status, diffs, rebase metadata, and lock ownership. Restore index/worktree only when HEAD is unchanged and the half-applied tree is proven to match the fetched remote, then use a verified merge path that does not detach HEAD. Never reset --hard, force push, or delete locks blindly.
  • Verify the push would send only local private-skill repo commits. Never run public sync, release, tag, force push, or push to a public repo without explicit user instruction.
  • Treat dirty primary changes as authoring/intake material. Commit by owning skill; combine its related small edits and relevant formatting in one commit. Keep unrelated skills/paths separate and untouched.
  • Before any git add / git commit / git push, set the working directory to the private repo root explicitly (Set-Location <private-repo> or git -C <private-repo>). Do not rely on inherited cwd from a previous tool call. After commit / push, re-confirm git status --short --branch to detect cwd mismatches early.
  • Before push, fetch and recompute the full ahead/behind range. If behind or divergent, inspect both histories and changed-path ownership; only a conflict-free normal merge in the clean execution checkout is authorized. Revalidate integrated content, including duplicate rules, contradictory MUST/prohibitions and frontmatter uniqueness. On conflicts or uncertain ownership, preserve state and stop; never resolve conflicts, rebase, autostash, force push or rewrite history automatically.
  • Stage explicit owned pathspecs, inspect the cached scope, and run git diff --cached --check. Confirm the verified private origin and remote tip after push; report validation not run as NOT_RUN, never as a successful gate.

Resolve and Inspect

  • Run the Mode Rules fetch/classify/isolate/integrate sequence once and never stage unrelated paths. Batch preflight, scope and push-gate checks into single commands and avoid re-verifying state already read this run.
  • Treat an isolated checkout of the verified private remote as the execution repo for path/clean checks. If approved dirty input is copied there, report the original copy as retained, not newly pending work; compare against the confirmed commit before suggesting another intake.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts12d3 checks · Risk SAFE
  • Gen Agent Trust Hub12d

    This skill automates the process of saving 'learnings' (from logs, history, and terminal output) into a private Git repository. It performs automated Git commits and pushes to facilitate synchronization. While it includes extensive safety instructions to prevent the storage of secrets and to abstract sensitive project data, it operates on untrusted input data and has the capability to write and push files to remote servers.

  • Socket12d

    No alerts

  • Snyk12d

    Risk: LOW · No issues

Signed by skilld at 9bedf91. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 15 hours ago.

Activeupdated 4 days ago
disable-model-invocation
true
user-invocable
true
metadata
{
  "author": "yamapan (https://github.com/aktsmm)"
}
Other metadata
argument-hint
反映したい知見・変更内容、対象スキル、取り込み元(intake 時)、任意: private repo パス、safe-auto / review-only / dry-run

README badge

README badge for aktsmm/agent-skills/retro-private-skills