π The fast, Pythonic way to build MCP servers and clients.
Remove .cursor/rules and .claude (#5871)
nate nowack2abe128f4f4a
diff --git a/.claude/hooks/session-init.sh b/.claude/hooks/session-init.shdeleted file mode 100755index 3c767fc54..000000000--- a/.claude/hooks/session-init.sh+++ /dev/null@@ -1,26 +0,0 @@-#!/bin/bash-set -e--# Only run in remote/cloud environments-if [ "$CLAUDE_CODE_REMOTE" != "true" ]; then- exit 0-fi--command -v gh &> /dev/null && exit 0--LOCAL_BIN="$HOME/.local/bin"-mkdir -p "$LOCAL_BIN"--ARCH=$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/')-VERSION=$(curl -fsSL https://api.github.com/repos/cli/cli/releases/latest | grep '"tag_name"' | cut -d'"' -f4)-TARBALL="gh_${VERSION#v}_linux_${ARCH}.tar.gz"--echo "Installing gh ${VERSION}..."-TEMP=$(mktemp -d)-trap 'rm -rf "$TEMP"' EXIT-curl -fsSL "https://github.com/cli/cli/releases/download/${VERSION}/${TARBALL}" | tar -xz -C "$TEMP"-cp "$TEMP"/gh_*/bin/gh "$LOCAL_BIN/gh"-chmod 755 "$LOCAL_BIN/gh"--[ -n "$CLAUDE_ENV_FILE" ] && echo "export PATH=\"$LOCAL_BIN:\$PATH\"" >> "$CLAUDE_ENV_FILE"-echo "gh installed: $("$LOCAL_BIN/gh" --version | head -1)"diff --git a/.claude/settings.json b/.claude/settings.jsondeleted file mode 100644index afc82c2ea..000000000--- a/.claude/settings.json+++ /dev/null@@ -1,15 +0,0 @@-{- "hooks": {- "SessionStart": [- {- "hooks": [- {- "type": "command",- "command": "bash \"$CLAUDE_PROJECT_DIR\"/.claude/hooks/session-init.sh",- "timeout": 120- }- ]- }- ]- }-}diff --git a/.claude/skills/docs b/.claude/skills/docsdeleted file mode 120000index a0b6746b3..000000000--- a/.claude/skills/docs+++ /dev/null@@ -1 +0,0 @@-../../.agents/skills/docs\ No newline at end of filediff --git a/.claude/skills/fix-issue b/.claude/skills/fix-issuedeleted file mode 120000index 7ffb4344f..000000000--- a/.claude/skills/fix-issue+++ /dev/null@@ -1 +0,0 @@-../../.agents/skills/fix-issue\ No newline at end of filediff --git a/.claude/skills/python-tests b/.claude/skills/python-testsdeleted file mode 120000index 937109083..000000000--- a/.claude/skills/python-tests+++ /dev/null@@ -1 +0,0 @@-../../.agents/skills/python-tests\ No newline at end of filediff --git a/.claude/skills/release b/.claude/skills/releasedeleted file mode 120000index 14f8a38a8..000000000--- a/.claude/skills/release+++ /dev/null@@ -1 +0,0 @@-../../.agents/skills/release\ No newline at end of filediff --git a/.claude/skills/review-issue b/.claude/skills/review-issuedeleted file mode 120000index 872df1547..000000000--- a/.claude/skills/review-issue+++ /dev/null@@ -1 +0,0 @@-../../.agents/skills/review-issue\ No newline at end of filediff --git a/.claude/skills/review-pr b/.claude/skills/review-prdeleted file mode 120000index effc6b725..000000000--- a/.claude/skills/review-pr+++ /dev/null@@ -1 +0,0 @@-../../.agents/skills/review-pr\ No newline at end of filediff --git a/.claude/skills/review-security-report b/.claude/skills/review-security-reportdeleted file mode 120000index f068c149a..000000000--- a/.claude/skills/review-security-report+++ /dev/null@@ -1 +0,0 @@-../../.agents/skills/review-security-report\ No newline at end of filediff --git a/.claude/skills/triage b/.claude/skills/triagedeleted file mode 120000index 9e4e13fd0..000000000--- a/.claude/skills/triage+++ /dev/null@@ -1 +0,0 @@-../../.agents/skills/triage\ No newline at end of filediff --git a/.cursor/rules/core-mcp-objects.mdc b/.cursor/rules/core-mcp-objects.mdcdeleted file mode 100644index ccbc829ec..000000000--- a/.cursor/rules/core-mcp-objects.mdc+++ /dev/null@@ -1,13 +0,0 @@-----description:-globs:-alwaysApply: true-----There are four major MCP object types:--- Tools (src/tools/)-- Resources (src/resources/)-- Resource Templates (src/resources/)-- Prompts (src/prompts)--While these have slightly different semantics and implementations, in general changes that affect interactions with any one (like adding tags, importing, etc.) will need to be adopted, applied, and tested on all others. Note that while resources and resource templates are different objects, they are both in `src/resources/`.\ No newline at end of filediff --git a/AGENTS.md b/AGENTS.mdindex 23027c2ce..c59268dd5 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -43,7 +43,7 @@ The gitleaks hook needs the `gitleaks` binary on `PATH` (`brew install gitleaks`## Skills-Repository skills live in `.agents/skills/`, with symlinks in `.claude/skills/` for Claude Code. [The development guide](docs/development/contributing.mdx#maintenance-and-automation) says which work is automated and which needs a person. Load the skill that matches the job:+Repository skills live in `.agents/skills/`. [The development guide](docs/development/contributing.mdx#maintenance-and-automation) says which work is automated and which needs a person. Load the skill that matches the job:| Job | Skill || --- | --- |diff --git a/docs/development/contributing.mdx b/docs/development/contributing.mdxindex 31c1eee01..97d184fb9 100644--- a/docs/development/contributing.mdx+++ b/docs/development/contributing.mdx@@ -42,7 +42,7 @@ The merging maintainer preserves those trailers through the chosen merge strategAI assistance is welcome under the same standards as other contributions. You remain responsible for understanding the change, verifying its behavior, and responding to review. Avoid generated boilerplate that obscures the problem or substitutes speculation for a reproduction.-Have your agent read [AGENTS.md](https://github.com/PrefectHQ/fastmcp/blob/main/AGENTS.md). It contains the required checks, repository conventions, and a table routing tasks to the [repository skills](https://github.com/PrefectHQ/fastmcp/tree/main/.agents/skills). Use the testing and review procedures on your own change before submitting it. Skills live in `.agents/skills/`, with discovery links in `.claude/skills/`.+Have your agent read [AGENTS.md](https://github.com/PrefectHQ/fastmcp/blob/main/AGENTS.md). It contains the required checks, repository conventions, and a table routing tasks to the [repository skills](https://github.com/PrefectHQ/fastmcp/tree/main/.agents/skills). Use the testing and review procedures on your own change before submitting it. Skills live in `.agents/skills/`.## Set up the repositorydiff --git a/loq.toml b/loq.tomlindex cce12967e..ab7259a11 100644--- a/loq.toml+++ b/loq.toml@@ -4,7 +4,7 @@default_max_lines = 1000respect_gitignore = true-exclude = ["**/uv.lock", ".git/**", ".claude/**", "docs/**"]+exclude = ["**/uv.lock", ".git/**", "docs/**"][[rules]]path = "tests/**"