| name | tidypress-contributor |
| description | Contribute to the TidyPress monorepo — setup, package boundaries, PR checklist, changesets, and optional AI-assisted workflow. Use when working in the tidypress GitHub repo, packages/cli|engine|config, apps/site docs, examples, or when the user mentions contributing, pull requests, or developing TidyPress itself. |
TidyPress contributor (monorepo)
Read these before non-trivial changes:
CONTRIBUTING.md — how to contribute (required)
README.md — product overview and workspace commands
RELEASING.md — when changing publishable packages
LICENSE
Never reference or depend on maintainer-private workspace folders that are not in the public contribution guide. Contributors use their own AI setup.
Product scope
Pitch: A publishing framework for Git-native authorship.
Thesis: The public interface for an engineer's repos, work, ideas, projects, docs, references, and product knowledge.
Rendering stays Node.js + Astro only. Python wraps tooling; it is not a second renderer.
Package boundaries
| Package | Owns | Does not own |
|---|
packages/cli | Commands, deploy strategies | Rendering, Astro |
packages/engine | Astro site runtime, components | Deploy provider SDKs in core paths |
packages/config | Schema, defaults, normalization | CLI UX |
apps/site | Product docs at tidypress.pages.dev | Example sites |
wrappers/python | Packaging, Python helpers | Site rendering |
Workspace commands
pnpm install
pnpm -r test
pnpm -r build
Before opening a PR:
pnpm test
pnpm build
pnpm changeset
Marketing docs snapshot (when CI expects it):
pnpm --filter @tidypress/site build
Pull requests
- One focused change per PR when possible
- Clear title and summary (squash merge uses the title)
- Link a GitHub issue for bugs and features
- Update
apps/site/src/content/docs/ when user-facing behavior changes
- Add/update tests when logic changes
- Include a test plan in the PR body
- Do not commit unless the user explicitly asks
Using AI to contribute
Any AI assistant is fine. Follow CONTRIBUTING.md.
- Install skills (optional) —
npx tidypress skills install adds tidypress and tidypress-contributor to Cursor, Claude Code, or Codex.
- Load repo context —
CONTRIBUTING.md, package README, tests for files you touch.
- Docs — Edit
apps/site/src/content/docs/; keep configuration.md accurate.
- LLM export —
tidypress build and inspect site/build/llms.txt when changing published-content export.
- Verify —
pnpm test and pnpm build; scan the full diff for secrets and unrelated files.
- Disclose — Say in the PR if AI wrote most of the change.
Never commit credentials.
Personal AI workspace (local only)
Contributors may keep a private gitignored folder for AI rules, roadmaps, or notes—any name they choose (e.g. my-workspace/, notes/, .cursor/).
Setup (contributor machine, not in PRs):
- Pick a directory name outside shared packages (or use editor-global skills).
- Add it to
.gitignore before creating files.
- Store prompts,
SKILL.md copies, and session notes there.
- Point the AI at
CONTRIBUTING.md and package READMEs from the clone—do not invent maintainer-only workflows.
Rules:
- Do not commit personal tooling or reference maintainer-private paths in PRs, issues, or user docs.
- Do not tell contributors they must use a specific private folder name from this repo.
- Rule: Personal workflow stays out of git; only shared code, tests, and docs belong in PRs.
If the user asks for a private AI workspace, help them extend .gitignore and keep PRs limited to product changes.
Changesets
When changing packages/cli, packages/engine, packages/config, or the published tidypress package:
pnpm changeset
Commit the generated .changeset/*.md file with the PR.
Guardrails (user-facing product)
- Do not add docs-SaaS or competitor-site positioning in user copy
- Do not add fake deploy implementations beyond instructions-only strategies
- Do not break
writeLlmsTxt / createContentSnapshot tests without updating expectations
- Keep the core pitch: Git-native authorship, not “docs platform” marketing stacks
- Write clear standalone sentences. Parentheses and tree comments are fine when they compress useful detail — not as a dodge for unclear prose.
Examples
From repo root after pnpm install:
pnpm --filter @tidypress/example-lab build
pnpm --filter @tidypress/example-minimal build
See examples/ and examples doc.
End-user skills
Bundled under skills/ and installed via tidypress skills install for site authors—not required for monorepo code contributions.