Skip to content

openwolf init doesn't completely respect the .gitignore #15

@VimCommando

Description

@VimCommando

When I ran openwolf init on a new project, I got a lot of entries in anatomy.md that were unnecessary. For example
my .gitignore has this entry so I don't commit all of my agent skills into my repo:

# Agent skills and commands
/*/skills/
/*/command*/

But the anatomy.md still had all of these OpenSpec skills:

## .claude/skills/openspec-apply-change/

- `SKILL.md` — Implementing: <change-name> (schema: <schema-name>) (~1178 tok)

## .claude/skills/openspec-archive-change/

- `SKILL.md` — Archive Complete (~1039 tok)

## .claude/skills/openspec-bulk-archive-change/

- `SKILL.md` — Bulk Archive Complete (~1916 tok)

## .claude/skills/openspec-continue-change/

- `SKILL.md` (~1262 tok)

## .claude/skills/openspec-explore/

- `SKILL.md` — The Stance (~2267 tok)

## .claude/skills/openspec-ff-change/

- `SKILL.md` (~1109 tok)

## .claude/skills/openspec-new-change/

- `SKILL.md` (~719 tok)

## .claude/skills/openspec-onboard/

- `SKILL.md` — Preflight (~3327 tok)

## .claude/skills/openspec-propose/

- `SKILL.md` (~1161 tok)

## .claude/skills/openspec-sync-specs/

- `SKILL.md` — ADDED Requirements (~1121 tok)

## .claude/skills/openspec-verify-change/

- `SKILL.md` (~1636 tok)

And these were just the .claude entries. I also have OpenSpec skills installed under .codex and .cursor, so it significantly bloated the anatomy.md for files I wouldn't ever want referenced.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions