Readme file.explain code

From gpsaggese/helpers · View interactive version

Readme file.explain code is an AI agent skill from the GitHub repository gpsaggese/helpers. Document a Python file's classes, functions, and relationships in markdown

How to use this skill

Skill file

Goal

documenting their classes, functions, interfaces, and relationships

Workflow

Read the Files

Generate the Document

extension (e.g., batch_call_auction for batch_call_auction.py); use a

combined slug for several files

```markdown

```

same path used to read it (this disambiguates files with the same basename)

to report; never print an empty header or a placeholder bullet like -

Verify

File Description

```markdown

later query

```

Class Description

```markdown

# Class Description

## research/Noesis/batch_call_auction.py

## <file.py>

...

```

Class Interface

(dataclass) if it has no explicit base) and a nested bullet per method

with its full signature and a description under 20 words

auto-generated constructor), say so instead of listing a signature

```markdown

# Class Interface

## research/Noesis/batch_call_auction.py

## <file.py>

...

```

Function Interface

any class (methods are covered under Class Interface)

one-line helpers

```markdown

# Function Interface

## research/Noesis/batch_call_auction.py

## <file.py>

...

```

Function Relationship

scoped to the files read

method that only forwards to a stored collaborator)

```markdown

# Function Relationship

## research/Noesis/batch_call_auction.py

## <file.py>

...

```

Class Relationships

(schema correspondence with no code dependency). Include a group only if it

applies, and list only classes where the relationship holds

```markdown

# Class Relationships

## Inheritance

## Composition

## Uses

tier and returns Dict[str, TierClearResult]

## Mirrors

shared code

```

Conventions

for markdown and text formatting

Constraints

functions, or relationships that are not present

text)

Verification

it has content, using the same path used to read it

.claude/skills/readme_file.explain_code/SKILL.md

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.