Skip to content

docs: add self-deleting first-time setup hint to AGENTS.md and CLAUDE.md - #52

Merged
TomKaltofen merged 1 commit into
mainfrom
docs/first-time-setup-hint
May 7, 2026
Merged

docs: add self-deleting first-time setup hint to AGENTS.md and CLAUDE.md#52
TomKaltofen merged 1 commit into
mainfrom
docs/first-time-setup-hint

Conversation

@TKaltofen

Copy link
Copy Markdown
Collaborator

Summary

  • Adds a ## First-time setup section to the top of both AGENTS.md and CLAUDE.md that triggers on the presence of placeholder/, points to the README ### Setup Your Plugin steps, and instructs the agent to delete the section itself once setup is complete.
  • Net effect: AI agents helping a user on a freshly-templated repo will no longer skip past the manual rename / pyproject / import updates, but the hint won't linger in real plugin repos.

Why

Today neither file mentions that the template needs initialization. An agent jumps straight to uv sync / tox on an uninitialized clone and can ship a plugin still named placeholder-my-plugin. Detection by placeholder/ directory existence is a single load-bearing artifact, so one check is enough.

Test plan

  • Read AGENTS.md and CLAUDE.md top-to-bottom; confirm flow makes sense for a first-time user.
  • Confirm placeholder/ directory still exists in the template repo (trigger condition correctly active here).
  • diff CLAUDE.md AGENTS.md returns empty (files stay 1:1 identical).

A fresh template clone needs the README "Setup Your Plugin" steps
(rename placeholder/, edit pyproject.toml etc.). Today the agent
instruction files don't mention this, so an AI agent jumps straight
to uv sync / tox on an uninitialized repo.

Add a top-of-file "First-time setup" section that detects an
uninitialized template via the presence of placeholder/, points
to the README setup steps, and instructs the agent to delete the
section itself once setup is complete - so it only lives in
fresh-template repos.
@TomKaltofen
TomKaltofen merged commit a775e9c into main May 7, 2026
4 checks passed
@TomKaltofen
TomKaltofen deleted the docs/first-time-setup-hint branch May 7, 2026 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants