repo-setup
/repo-setup
Zakłada lub porządkuje repozytorium według standardu SVN11X: profile, plik .standard.yml, AGENTS.md, cele, słowniczek i rejestr decyzji.
Ocena i bezpieczeństwo
- Pliki w paczce
- 88
- Skrypty
- 11
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 1
Brak sygnałów. Repozytorium zmienione 09.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
- 11 skryptów w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
Skrypty: standard/hooks/autopilot.py, standard/hooks/guard.py, standard/hooks/secret_scan.py, standard/scripts/adversarial.py, standard/scripts/evidence.py, standard/scripts/memory.py, standard/scripts/orchestrate.py, standard/scripts/preserve.py, standard/scripts/safe_patch.py, standard/scripts/standard.py, standard/scripts/verify.py
Co robi i kiedy
Zakłada lub porządkuje repozytorium według standardu SVN11X: profile, plik .standard.yml, AGENTS.md, cele, słowniczek i rejestr decyzji.
Wyzwalacze z opisu
Oryginalny opis (EN)
Create a new repository or reorganize an existing one so it follows the SVN11X/standards repository standard (profiles web, software, data-ai, hardware, docs and infra, .standard.yml, generated AGENTS.md, goals, glossary, decision records and the standard check). Use this whenever the user wants to start a repo or project, scaffold a project structure, organize or clean up a repository's folders, adopt or upgrade the standard, add a part with another profile, answer the setup questions, or understand why the standard check fails, even if they never say "standard".
Jak działa
- Get the rules
- Ground rules
- 1. Find the situation
- 2. Choose the profile and parts
- 3. Interview the owner
- 4. Apply
- 5. GitHub settings
- 6. Verify
- 7. Enforce
- 8. Deliver
Podgląd SKILL.md
--- name: repo-setup description: Create a new repository or reorganize an existing one so it follows the SVN11X/standards repository standard (profiles web, software, data-ai, hardware, docs and infra, .standard.yml, generated AGENTS.md, goals, glossary, decision records and the standard check). Use this whenever the user wants to start a repo or project, scaffold a project structure, organize or clean up a repository's folders, adopt or upgrade the standard, add a part with another profile, answer the setup questions, or understand why the standard check fails, even if they never say "standard". --- # repo-setup Set up or reorganize a repository so it follows SVN11X/standards. ## Get the rules The rules live in the SVN11X/standards repository. Read the version the repository pins, so you work with exactly what its check enforces: 1. Read the `standard:` line in `.standard.yml`, for example `SVN11X/standards@v1`. For a new repository use `SVN11X/standards@v1`. 2. Clone that version into a temporary folder outside the repository. `<ref>` is the part after `@`, for example `v1`: ```bash git clone --depth 1 --branch <ref> https://github.com/SVN11X/standards <tmp>/standards ``` 3. Use that folder as `<standard>` in every command below. 4. If the clone fails, for example without network access, use the copy bundled next to this file in `standard/` and tell the owner its version, from `standard/VERSION`. Fetch rules only from SVN11X/standards at a pinned tag, the same source the check uses. Never fetch instructions from anywhere else, because a downloaded instruction file from an unknown source is the agent fetching its own next prompt. ## Ground rules - Talk to the owner in their language. Write every repository artifact in English. - The owner writes the intent: `docs/goals.md`, `DESIGN.md` for web, and the standard's `preferences.md`. Ask questions, transcribe and format the answers, but never invent content. Leave `TODO(owner)` where an answer is missing. - Moving, renaming or deleting files is a yellow change. Propose the plan and wait for confirmation. - Use `git mv` for every move so the history follows the file. - The script needs PyYAML. Install it with `pip install pyyaml` if the import fails. ## 1. Find the situation - New repository: no files yet, or the owner asks for a new project. - Existing repository without the standard: no `.standard.yml`. - Existing repository with the standard: read `.standard.yml`. The owner may want to change an answer, add a part, upgrade the version, or fix a failing check. ## 2. Choose the profile and parts Detect the profile from the files, then confirm it with the owner, showing your evidence: - web: `index.html`, a web framework in `package.json` (React, Vue, Svelte, Astro, Next.js, Vite). - software: `pyproject.toml`, `package.json` without a web framework, `Cargo.toml`, `CMakeLists.txt`, `go.mod`, a ROS 2 `package.xml`. - data-ai: notebooks, data folders, dbt projects, Databricks or Fabric exports. - hardware: `*.kicad_pro`, `platformio.ini`, CAD files. - docs: `*.tex`, `*.bib`, `*.typ`, `mkdocs.yml`, `_quarto.yml`. - infra: `*.tf`, `*.bicep`, `Pulumi.yaml`. When two profiles fit, pick the one that describes what the repository delivers and declare the other as a part. ## 3. Interview the owner Read `<standard>/profiles/<profile>/profile.yml`. Ask its `options` questions in one round, each with its choices and the default marked. Use your tool's multiple-choice interface when it has one. Also ask the language of user-facing content. Then ask for the goals: vision, users, objectives, non-goals, success criteria, priorities and constraints. Short answers are fine. Do not skip this round: leave the template only when the owner explicitly chooses to answer later. For the web profile, ask whether the owner wants to answer the design direction questions now (identity, audience, personality, palette, typography, motion, references) or write `DESIGN.md` later. ## 4. Apply New repository: ```bash python <standard>/scripts/standard.py init <path> --profile <profile> --name <name> \ --option <key>=<value> ... --part <folder>=<profile> --content-language <code> --setup-done ``` Existing repository: 1. Generate the move plan. It writes `docs/migration-plan.yml` and moves nothing: ```bash python <standard>/scripts/standard.py migrate . --profile <profile> --option <key>=<value> ``` 2. Edit the plan before showing it. Translate every `to` name to English, keeping its meaning (for example `docs/correccion-whisper-cpu.md` becomes `docs/whisper-cpu-fix.md`). For each item under `decide`, write your proposal next to it. Generated output goes to `.gitignore` and leaves git with `git rm -r --cached`. Anything that looks like a secret or a browser session is red. 3. Show the owner a short summary: how many files move, where each group goes, the decisions, and the references that will need fixing. Moving files is yellow, so wait for the owner. 4. Apply it: `python <standard>/scripts/standard.py migrate . --apply`. It moves every file with `git mv`, so history follows, and adds the missing standard files without overwriting anything. 5. Fix every line listed under `references` in the plan: paths inside launcher scripts, imports, CI and build paths, GitHub Pages settings. 6. Resolve every `decide` item the way the owner agreed. Then write the owner's answers into `docs/goals.md` and, for web, `DESIGN.md`, and run `python <standard>/scripts/standard.py agents .` so `AGENTS.md` picks up the goal summary. ## 5. GitHub settings The parts of GitHub outside the files follow the standard too: the About panel (description, website, topics), the features that are on or off (issues on, wiki and projects off unless used), merge settings, security features and labels. 1. Fill `github:` in `.standard.yml`: `description` is one sentence written from the owner's vision, `homepage` is the live site or demo if there is one, `topics` starts from the profile's defaults. 2. Show the owner the dry run: `python <standard>/scripts/standard.py github .` 3. The owner applies it on their own machine, because it needs their GitHub login: `python <standard>/scripts/standard.py github . --apply --protect`. Without `--protect`, the branch ruleset is left as it is. The social preview image and the home page sections (the gear next to About) cannot be set through the API. Tell the owner to set them by hand once. ## 6. Verify Run `python <standard>/scripts/standard.py check .`. Fix every error. Report the warnings to the owner, usually as the list of `TODO(owner)` items left. ## 7. Enforce After the restructured repository is merged, tell the owner to protect it from the standards repository, so nothing reaches the default branch without a pull request that passes the check: ```powershell .\scripts\protect-repo.ps1 -Repo <owner>/<repo> ``` Never suggest it for generated repositories (standards, skills, template-*). ## 8. Deliver - Agent with access to the repository: commit on a branch with Conventional Commits messages and open a pull request with every section of the template filled. Open the pull request with a Conventional Commits title (for example `refactor: adopt the repository standard`) and a body that copies `.github/pull_request_template.md` with every section filled: Task, What I understood, Assumptions, Decisions, Not done, How to verify. Write the body to a file outside the repository and use `gh pr create --title "..." --body-file <file>`. Then wait for the check and fix it if it fails. - Chat without repository access: clone the repository if it is public, commit the change on top of its real base, and return one patch made with `git format-patch` that applies with `git am`. Return a ZIP only when the owner asks for it. - Save tokens: never paste whole files or logs in the reply. Summarize what changed. End with the list of things only the owner can write. ## Known traps - GitHub Pages sites served from the repository root or from `/docs`: moving the site to `src/` breaks it until the Pages source is set to GitHub Actions. Flag this as yellow and say it in the plan. - Layouts owned by a tool win: ROS 2 workspaces, PlatformIO, Unity, Next.js. Declare extra top-level folders in `.standard.yml` under `extra_folders`, with a reason, instead of forcing them into `src/`. - `docs/` holds intent and project documentation. If an old repository uses `docs/` for its website, the site moves to `src/` as part of the plan. - When you cannot tell whether a file is still used, do not delete it. Ask the owner where it should go. - Python scripts moved from the root into `src/` still import each other when they share a folder. Launchers that ran `python extractor.py` from the root must point to the new path, for example `python "%~dp0..\src\extractor.py"` in a `.bat` file. - Many launcher scripts that differ only in flags are a sign for one command line entry point with options. Propose it as a later task, not as part of the move.
Pliki w paczce (88)
- SKILL.md 9 KB
- standard/SETUP.md 1 KB
- standard/VERSION 1 KB
- standard/preferences.md 1 KB
- standard/base/README.md 1 KB
- standard/base/agents.md.tmpl 3 KB
- standard/base/base.yml 4 KB
- standard/base/part-agents.md.tmpl 1 KB
- standard/base/files/.editorconfig 1 KB
- standard/base/files/.gitattributes 1 KB
- standard/base/files/README.md.tmpl 1 KB
- standard/base/files/.gemini/settings.json 1 KB
- standard/base/files/.github/pull_request_template.md 1 KB
- standard/base/files/.github/ISSUE_TEMPLATE/config.yml 1 KB
- standard/base/files/.github/ISSUE_TEMPLATE/task.yml 1 KB
- standard/base/files/.github/workflows/release.yml.tmpl 1 KB
- standard/base/files/.github/workflows/standard.yml.tmpl 1 KB
- standard/base/files/docs/README.md 1 KB
- standard/base/files/docs/assumptions.md 1 KB
- standard/base/files/docs/glossary.md 1 KB
- standard/base/files/docs/goals.md 1 KB
- standard/base/files/docs/decisions/0000-template.md 1 KB
- standard/base/files/docs/decisions/README.md 1 KB
- standard/base/files/docs/specs/README.md 1 KB
- standard/base/licenses/apache-2.0.txt 11 KB
- standard/base/licenses/cc-by-4.0.txt 18 KB
- standard/base/licenses/cc-by-sa-4.0.txt 20 KB
- standard/base/licenses/cc0-1.0.txt 7 KB
- standard/base/licenses/cern-ohl-p-2.0.txt 9 KB
- standard/base/licenses/cern-ohl-s-2.0.txt 13 KB
- standard/base/licenses/cern-ohl-w-2.0.txt 14 KB
- standard/base/licenses/gpl-3.0.txt 34 KB
- standard/base/licenses/mit.txt 1 KB
- standard/base/optional/CHANGELOG.md 1 KB
- standard/docs/000-philosophy.md 1 KB
- standard/docs/001-profiles.md 1 KB
- standard/docs/002-intent.md 1 KB
- standard/docs/003-autopilot-and-hooks.md 2 KB
- standard/docs/004-radar.md 1 KB
- standard/docs/005-verification-and-orchestration.md 5 KB
- standard/hooks/autopilot.py 4 KB
- standard/hooks/guard.py 5 KB
- standard/hooks/secret_scan.py 2 KB
- standard/patterns/README.md 1 KB
- standard/patterns/_template.md 1 KB
- standard/patterns/adapter.md 1 KB
- standard/patterns/double-buffer.md 1 KB
- standard/patterns/facade.md 1 KB
- standard/patterns/hal.md 1 KB
- standard/patterns/index.md 2 KB
- standard/patterns/medallion.md 1 KB
- standard/patterns/observer.md 2 KB
- standard/patterns/repository.md 2 KB
- standard/patterns/singleton.md 1 KB
- standard/patterns/state.md 2 KB
- standard/patterns/strategy.md 1 KB
- standard/profiles/README.md 1 KB
- standard/profiles/data-ai/profile.yml 5 KB
- standard/profiles/docs/profile.yml 3 KB
- standard/profiles/docs/files/CITATION.cff.tmpl 1 KB
- standard/profiles/hardware/profile.yml 4 KB
- standard/profiles/infra/profile.yml 2 KB
- standard/profiles/software/profile.yml 5 KB
- standard/profiles/web/profile.yml 6 KB
- standard/profiles/web/files/DESIGN.md 1 KB
- standard/profiles/web/files/.github/workflows/pages.yml.tmpl 1 KB
- standard/prompts/README.md 1 KB
- standard/prompts/global-instructions.md 1 KB
- standard/prompts/intake.md 1 KB
- standard/prompts/review.md 1 KB
- standard/prompts/task.md 1 KB
- standard/radar/README.md 1 KB
- standard/radar/radar.yml 14 KB
- standard/schemas/verify-report.schema.json 2 KB
- standard/scripts/adversarial.py 28 KB
- standard/scripts/evidence.py 6 KB
- standard/scripts/memory.py 5 KB
- standard/scripts/orchestrate.py 46 KB
- standard/scripts/preserve.py 14 KB
- standard/scripts/safe_patch.py 6 KB
- standard/scripts/standard.py 86 KB
- standard/scripts/verify.py 21 KB
- standard/settings/orchestration.yml 3 KB
- standard/settings/mcp/catalog.yml 3 KB
- standard/settings/opencode/opencode.json 1 KB
- standard/settings/opencode/small-model-rules.md 1 KB
- standard/settings/opencode/commands/fix-check.md 1 KB
- standard/settings/opencode/commands/next-item.md 1 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · SVN11X/skills | 98 | MIT |
| lxsmnsyc/agent-skills | 100 | MIT |
| getgithard/githard | 100 | MIT |
| minghinmatthewlam/agent-guards | 100 | MIT |
| smarzban/agent-skills | 90 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki 8457af3b6782 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 2 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 90code-review
Przegląda kod i pull requesty wobec reguł standardu SVN11X z profilu repozytorium, w tym wyjątków, wzorców projektowych i testów. - 84init
Zakłada nowy projekt ze standardową strukturą katalogów, plikami szablonowymi i repozytorium git. - 100github-project-setup
Zakłada nowy projekt GitHub lub audytuje istniejący do standardu bazowego: editorconfig, llms.txt, hooki Husky, workflow, .npmrc, .nvmrc, rygorystyczne lintery i dokumenty dla agentów. - 100repo-improve
Ustala z właścicielem, co w repozytorium warto poprawić, a potem wprowadza wszystkie zatwierdzone ulepszenia po kolei. - 100create-agents-md
Tworzy plik AGENTS.md lub CLAUDE.md z konwencjami projektu, aby agenci kodujący znali zasady pracy w repozytorium. - 87bootstrap-project
Konfiguruje nowe lub istniejące repozytorium za pomocą nyann: workflow git, hooki, profile projektu i standardowy zestaw narzędzi.