Przejdź do treści
Biblioteka skilli
Programowanie · Budowanie i kod

repo-init

/repo-init

Prawdopodobnie inicjuje repozytorium kodu: tworzy i aktualizuje architekturę oprogramowania oraz specyfikacje SDD.

Licencja
MIT
Ostatnia zmiana repozytorium
27.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
10
Skrypty
1
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 27.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co sprawdzić przed instalacją
  • 1 skrypt w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.

Skrypty: scripts/create_sdd_structure.py

Co robi i kiedy

Prawdopodobnie inicjuje repozytorium kodu: tworzy i aktualizuje architekturę oprogramowania oraz specyfikacje SDD.

Oryginalny opis (EN)

Use when the user asks for 软件实现设计/software_architect/初始化代码仓/sdd/初始化/init/更新代码仓软件架构/更新代码仓软件实现设计.

Jak działa

  1. 复用已有架构基线
  2. 完成后回调
Sekcje z nagłówków SKILL.md, w oryginale · 116 linii, 692 słów
Podgląd SKILL.md
---
name: repo-init
description: Use when the user asks for 软件实现设计/software_architect/初始化代码仓/sdd/初始化/init/更新代码仓软件架构/更新代码仓软件实现设计.
version: "2.3.2.1"
---

# Repo Init
Make a todo list to follow this workflow below.

## 复用已有架构基线

若工作单返回 `existing_output_reusable=true`,先读取已有 `.sdd/software_architecture.md`,不执行下方完整初始化。确认它能够作为下游架构基线:重点关注会影响模块范围、职责、依赖方向、数据归属或运行边界理解的未决项、冲突和明显失效信息。

- 没有疑点时,不修改现有成果,直接执行工作单的 `commands.done`。
- 有疑点时,说明发现依据和影响,集中向用户提问;不要用固定问卷代替判断。疑点澄清且无需修改后直接完成;需要修订时只更新受影响的架构内容,并按 Phase 6、Phase 7 收尾。
- 文件不可用或用户明确要求刷新时,执行下方完整初始化。回滚或重试时 CLI 不会给出复用标记,因此仍会完整执行。

### Phase 1 Launch a subagent to initiate directory
excute `<skill-dir>/scripts/create_sdd_structure.py` in the skill to initiate directory

### Phase 2 Launch a subagent to copy file
```
if (./AGENTS.md)文件不存在
    Copy `<skill-dir>/references/AGENTS.md` to `./`
if (./.sdd/software_architecture.md)文件不存在
    Copy `<skill-dir>/references/software_architecture.md` to `./.sdd/`
```

### Phase 3 Launch a subagent to copy spec
Launch a subagent to survey the codebase to make sure what the program language is?
if `c`:
|__ Copy `<skill-dir>/assets/c-spec.md` to `./.sdd/spec.md`
if `c++`:
|__ Copy `<skill-dir>/assets/C++-spec.md` to `./.sdd/spec.md`
if `java`:
|__ Copy `<skill-dir>/assets/java-spec.md` to `./.sdd/spec.md`
if `python`:
|__ Copy `<skill-dir>/assets/Python-spec.md` to `./.sdd/spec.md`
if `javascript`:
|__ Copy `<skill-dir>/assets/js-spec.md` to `./.sdd/spec.md`

### Phase 4 Launch a subagent to Write software_architecture.md
if software_architecture.md is existed in './.sdd/'
- 读取并更新现有文件,不得因文件存在而跳过。

else
- Launch a subagent to survey the codebase,Fill in all placeholders '{{***}}' in software_architecture.md,IMPORTANT: do NOT modify or fill in any placeholders in 'section 1.2' and 'section 1.3' and 目录.
### Phase 5 Launch a subagent to Write AGENTS.md
if AGENTS.md is existed in './'
- 读取并更新现有文件,只修改过期或缺失内容。

else

Launch a subagent to survey the codebase
Detect:
- Build, test, and lint commands (especially non-standard ones)
- Languages, frameworks, and package manager
- Project structure (monorepo with workspaces, multi-module, or single project)
- Code style rules that differ from language defaults
- Non-obvious gotchas, required env vars, or workflow quirks
- Existing .claude/skills/ and .claude/rules/ directories
- Formatter configuration (prettier, biome, ruff, black, gofmt, rustfmt, or a unified format script like `npm run format` / `make fmt`)

Exclude:
- File-by-file structure or component lists (Claude can discover these by reading the codebase)
- Standard language conventions Claude already knows
- Generic advice ("write clean code", "handle errors")
- Detailed API docs or long references — use `@path/to/import` syntax instead (e.g., `@docs/api-reference.md`) to inline content on demand without bloating CLAUDE.md
- Information that changes frequently — reference the source with `@path/to/import` so Claude always reads the current version
- Long tutorials or walkthroughs (move to a separate file and reference with `@path/to/import`, or put in a skill)
- Commands obvious from manifest files (e.g., standard "npm test", "cargo test", "pytest")

Be specific: "Use 2-space indentation in TypeScript" is better than "Format code properly."

Do not repeat yourself and do not make up sections like "Common Development Tasks" or "Tips for Development" — only include information expressly found in files you read.

Write a minimal AGENTS.md according to the .sdd/AGENTS.md.

### Phase 6 **update '目录'**
Update section '目录' with correct line numbers after all content is assembled. Do NOT fill in placeholders.

### Phase 7 Confirm key content with the user

If this run created or modified `.sdd/software_architecture.md`, output the reminder
below and wait for the user to confirm the listed items before completing. If the file
already existed and was not modified in this run, output the reminder for reference and
continue without waiting.

```
⚠️ **Important Reminder**

Auto-generated documents from repo-init have low accuracy. Please manually review the following key items to avoid omissions:

**`.sdd/software_architecture.md`**:
- **Module list**: Check if all modules are correctly identified — no missing or extra modules
- **Configuration list**: Verify config files, env vars, startup parameters are all covered
- **Tech stack**: Confirm language versions, framework versions, and other key tech info are correct
- **Table of contents**: Ensure line numbers in the 目录 section match actual content

**`AGENTS.md`**:
- **Build/Test commands**: Verify commands match what the project actually uses
- **Code style rules**: Confirm indentation, formatting, and other style rules match the project
- **Project structure**: Verify monorepo/multi-module/single-project classification is correct

Please review each item before proceeding with subsequent workflow steps.
```

`.sdd/software_architecture.md` is the architecture baseline for the entire downstream
workflow: `module-asis-analysis` treats it as the only source of module boundaries and
aborts when it is missing or conflicting. When this run generated or changed it, do not
report completion until the user confirms the review.

## 完成后回调

> 若不处于 `aaw-workflow` 编排中,请忽略此节。

本 skill 由 `aaw-workflow` 编排调用。交付件生成后:

1. 若本轮创建或修改了 `.sdd/software_architecture.md`,先完成 Phase 7 的用户确认,再执行工作单中的 `commands.done`。
2. 若 `.sdd/software_architecture.md` 本轮未发生变化,直接执行 `commands.done`。
Pliki w paczce (10)
  • SKILL.md 6 KB
  • assets/C++-spec.md 14 KB
  • assets/Python-spec.md 17 KB
  • assets/c-spec.md 23 KB
  • assets/java-spec.md 16 KB
  • assets/js-spec.md 4 KB
  • references/AGENTS.md 1 KB
  • references/index.md 1 KB
  • references/software_architecture.md 7 KB
  • scripts/create_sdd_structure.py 1 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · pi-ixel/awesome-agent-workflow100MIT
htlin222/dotfiles100MIT

Migawka bazy z 13.11.2026 · wersja paczki 13175f385f17 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 3 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100sdd-init
    Kalibruje istniejące repozytorium pod łańcuch rsc SDD: wykrywa stack, menedżer pakietów i runnery testów, odświeża rejestr skilli i zapisuje konfigurację w config.yaml.
  • 9000-repo-init
    Zakłada repozytorium projektu: git init, domyślną gałąź, commit startowy, CONTRIBUTING.md i opcjonalnie zdalne repozytorium.
  • 86init
    Konfiguruje specsteward w repozytorium: wykrywa stos i polecenia lintu, typów i testów, zapisuje sdd.toml i sprawdza ustawienia.
  • 98sdd-derive
    Wyprowadza specyfikacje SDD z istniejącego kodu i dokumentuje z opóźnieniem już zaimplementowane zachowanie.
  • 100sdd-code-review
    Przeprowadza przegląd kodu całej funkcji przed scaleniem, porównując go z wymaganiami i projektem w siedmiu wymiarach. Przydaje się przed wydaniem wersji.
  • 100task-planning
    Dzieli projekt SDD na zadania implementacyjne z instrukcjami dla agentów i TDD, zapisując każdy jako zgłoszenie GitHub Issue.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.