From afdb37e74a69456e588a0dfc80466e1a69c33c09 Mon Sep 17 00:00:00 2001 From: TZGyn Date: Sun, 25 Oct 2026 11:08:54 +0800 Subject: [PATCH] Clarify: repos cloned to study or port go straight into .reference/ --- SKILL.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/SKILL.md b/SKILL.md index 8a9273e..665043b 100644 --- a/SKILL.md +++ b/SKILL.md @@ -70,6 +70,11 @@ printf '*\n' > ~/Git//.reference/.gitignore - The `.gitignore` **inside** `.reference/` contains a single `*`. Ignore the whole folder there, not in the repo's root `.gitignore`: the folder is then self-contained and stays untracked even if the root ignore file is rewritten. +- **Any repo cloned to study, port, or compare against is reference material.** + When asked to "check out this repo" (e.g. to reimplement it in another + language), create `.reference/` and its `.gitignore` as the very first step + and clone straight into it — never into the working root, even when the + project is not a git repo yet. - Clone reference repos inside it: `git clone --depth 1 .reference/`. Do not vendor them into `Sources/` or `vendor/`.