Readme File.Write Architecture
БесплатноБез исполняемых скриптовНе проверенWrite architecture documentation for a Python file
от gpsaggese★ 158 звёзд на GitHubОб этом скилле
Goal
- Analyze the Python file
<FILE>passed by the user, and generate or update<FILE>.README.mdwith bullet-point documentation of its architecture, code organization, idioms, and so on
Workflow
Read File
- Read
<FILE>to understand its structure:- Parse all function and class definitions
- Identify the public API (exported functions, classes, constants)
- Trace which functions call which
- Identify external dependencies (imports from other modules, libraries)
- Note the module's purpose and role in the broader system
Check the Existing Readme
- If
<FILE>.README.mdexists, read it and plan what to update. Otherwise, plan the content from scratch - Make sure the docstring of the corresponding file points to
<FILE>.README.md, e.g.,For a description of the architecture of this file, see the file <FILE>.README.md
Generate Document
- Follow the template
.claude/templates/architecture_doc.template.md - Generate the sections in markdown with bullet points, following:
.claude/skills/markdown.rules.mdfor markdown formatting.claude/skills/text.rules.mdfor text formatting
Update Document
- Write the results to
<FILE>.README.mdin the same dir as<FILE> - Wrap the text at 85 columns
Conventions
- Use conventions summarized in
docs/documentation_meta/all.architecture_diagrams.explanation.md - Use PlantUML diagrams (
```plantuml) for all architecture diagrams, never Mermaid, following.claude/skills/C4.rules.md - Use the standard C4 layout in PlantUML:
Personfor external usersSystemfor external systemsContainerfor application containers/processesComponentfor internal componentsRelfor relationships between elements
- Label diagrams with what they show
- Reference real code artifacts (function names, class names, file paths) when available
- Distinguish facts from assumptions:
- For facts (code-derived):
- E.g., "The function
process_data()callsvalidate_input()before computing results"
- E.g., "The function
- For assumptions:
- E.g., "This likely handles error cases based on the try-except blocks present"
- For facts (code-derived):
- Focus on:
- Maintainability: How easy is it to modify and extend this code?
- Extensibility: How well does the design accommodate new features?
- Operational understanding: What must someone know to work with this code?
- Say how the doc was generated, with this line right after the title:
- Generated by `.claude/skills/readme_file.write_architecture/SKILL.md`
Constraints
- Do not modify
<FILE>. Only create or update<FILE>.README.md - Do not over-document: skip what the code makes obvious
- Keep diagrams focused: one clear diagram beats three cluttered ones
- Do not invent architecture that is not in the code
- When unsure of the intent, mark the observation as an assumption
- Do not use emojis or decorative formatting
Verification
-
<FILE>.README.mdexists and documents the architecture of<FILE> - The docstring in
<FILE>references<FILE>.README.md - Diagrams use PlantUML syntax with the C4 element types
- No architecture is invented that is not in the code
- The architecture doc says it was generated by
.claude/skills/readme_file.write_architecture/SKILL.md
Установить Readme File.Write Architecture в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Readme File.Write Architecture?
Write architecture documentation for a Python file
Как установить скилл Readme File.Write Architecture?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Readme File.Write Architecture запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic