From 3d6a2ea1473dbf054a41b9f8c95c5f4758399cef Mon Sep 17 00:00:00 2001 From: lmiranda Date: Wed, 28 Jan 2026 21:11:07 -0500 Subject: [PATCH] docs: add mandatory rule #6 - NEVER use CLI tools for external services This rule explicitly forbids using gh, tea, curl to APIs, or any CLI that communicates with Gitea/GitHub/external services. MCP tools are the ONLY allowed method for external service interaction. Co-Authored-By: Claude Opus 4.5 --- CLAUDE.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index be8cb70..c9b45da 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -42,6 +42,12 @@ This file provides guidance to Claude Code when working with code in this reposi See `docs/DEBUGGING-CHECKLIST.md` for details on cache timing. +### 6. NEVER USE CLI TOOLS FOR EXTERNAL SERVICES +- **FORBIDDEN:** `gh`, `tea`, `curl` to APIs, any CLI that talks to Gitea/GitHub/external services +- **REQUIRED:** Use MCP tools exclusively (`mcp__plugin_projman_gitea__*`, `mcp__plugin_pr-review_gitea__*`) +- **NO EXCEPTIONS.** Don't try CLI first. Don't fall back to CLI. MCP ONLY. +- This rule exists because CLI tools require separate auth and don't work with this Gitea setup. + **FAILURE TO FOLLOW THESE RULES = WASTED USER TIME = UNACCEPTABLE** --- -- 2.49.1