项目文件夹

文件
Seth Hobson 0bacec2367 fix: cross-cutting process fixes from open-PR/issue audit (#611)
* fix(cursor-rules): align marketplace.json rule with CONTRIBUTING.md

The rule 'Never modify .claude-plugin/marketplace.json from inside a
plugin PR' contradicted CONTRIBUTING.md step 3 and actual maintainer
practice, causing CodeRabbit to force revert/re-add churn on plugin PRs
(#577, #582, #596, #606). Reword to prohibit hand-editing the generated
registries instead.

* docs: fix stale component counts (194 agents, 106 commands, 158 skills, 44 plugins)

* docs(contributing): add commercial content and disclosure policy

* docs(protect-mcp): remove unverified downloads claim

npm reports ~3.2K monthly downloads, not 10K+; the README already has a
live shields.io downloads badge. Also drop the stale v0.5.5 reference
(see #601).
2026-07-07 11:42:03 -04:00

23 行
1.2 KiB
Plaintext

---
description: claude-agents marketplace project conventions
alwaysApply: true
---
# claude-agents conventions
This is a multi-harness plugin marketplace. Source lives under `plugins/`; per-harness
artifacts (`.codex/`, `.cursor-plugin/`, `.opencode/`, `commands/`) are generated.
- Don't hand-edit anything under `.codex/`, `.cursor-plugin/`, `.opencode/`, or top-level `commands/`, `agents/`, `skills/` — regenerate via `make generate HARNESS=<x>`.
- Python tooling: `uv` (package manager), `ruff` (lint/format), `ty` (type check). Do not use pip/mypy/black.
- Plugin files: `plugins/<name>/{.claude-plugin/plugin.json, agents/*.md, skills/<name>/SKILL.md, commands/*.md}`. Auto-discovered.
- Cursor reads `.claude/skills/` and `.claude/agents/` directly — no separate `.cursor/skills/` is generated.
## Never
- Never commit secrets or hardcode credentials.
- Never hand-edit generated registries (`.agents/plugins/marketplace.json`, `.cursor-plugin/`) — plugin PRs register the plugin in `.claude-plugin/marketplace.json`, then run `make generate-all` (see CONTRIBUTING.md).
- Never run destructive git operations (force-push, reset --hard, branch -D) without explicit ask.
See `docs/authoring.md` for the portable-content style guide.