Skip to content

Commit ce08eeb

Browse files
committed
chore: add claude config to gitignore, update docs
- Add .claude.json and .claude/ to gitignore (local config) - Add performance optimization and AI agent docs to README
1 parent a67cae6 commit ce08eeb

File tree

2 files changed

+111
-1
lines changed

2 files changed

+111
-1
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,6 @@ homebrew-tap/
6060
# Development roadmap (keep private)
6161
ROADMAP_v*.md.claude/
6262

63-
# Claude Code local settings (keep private)
63+
# Claude Code local config (keep private)
64+
.claude.json
6465
.claude/

README.md

Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,115 @@ MIT © [Halil Ertekin](https://github.com/halilertekin)
238238

239239
---
240240

241+
## ⚡ Performance Optimization
242+
243+
### Token Limit Optimization
244+
245+
Claude Code adds an attribution header to every request that causes the full prompt to be reprocessed each time, leading to faster token depletion. To disable this:
246+
247+
```bash
248+
# Add to ~/.claude/settings.json
249+
{
250+
"env": {
251+
"CLAUDE_CODE_ATTRIBUTION_HEADER": "0"
252+
}
253+
}
254+
```
255+
256+
---
257+
258+
## 🤖 AI Agent & Skill Ekleme Rehberi
259+
260+
Aşağıdaki üçüncü parti agent ve skill'leri Claude Code'a ekleyebilirsin:
261+
262+
### 1. Scientific Skills (Bilimsel Araştırma)
263+
**K-Dense-AI/claude-scientific-skills** - 140+ bilimsel skill
264+
265+
```bash
266+
# Claude Code'da çalıştır:
267+
/plugin marketplace add K-Dense-AI/claude-scientific-skills
268+
/plugin install scientific-skills@claude-scientific-skills
269+
```
270+
271+
Kapsam: Bioinformatics, Drug Discovery, Clinical Research, ML/AI, Data Analysis
272+
273+
---
274+
275+
### 2. ASO Skills (App Store Optimizasyonu)
276+
**alirezarezvani/claude-code-aso-skill** - ASO agent sistemi
277+
278+
```bash
279+
git clone https://github.com/alirezarezvani/claude-code-aso-skill.git
280+
cp .claude/agents/aso/*.md ~/.claude/agents/
281+
```
282+
283+
Kapsam: Keyword research, metadata optimization, pre-launch checklist
284+
285+
---
286+
287+
### 3. App Store Connect CLI Skills
288+
**rudrankriyam/app-store-connect-cli-skills** - iOS deployment otomasyonu
289+
290+
```bash
291+
npx skills add rudrankriyam/app-store-connect-cli-skills
292+
```
293+
294+
Kapsam: Build, TestFlight, metadata upload, submission, signing
295+
296+
---
297+
298+
## 🔄 Auto-Refactor Bot (PR Otomatik İnceleme)
299+
300+
MiniMax M2.5 kullanarak PR'ları otomatik inceleyen bot kurulumu:
301+
302+
### Kurulum
303+
304+
1. **OpenRouter'da MiniMax endpoint al**
305+
2. **GitHub Action oluştur** (.github/workflows/auto-refactor.yml):
306+
307+
```yaml
308+
name: Auto-Refactor Bot
309+
on: [pull_request]
310+
311+
jobs:
312+
refactor:
313+
runs-on: ubuntu-latest
314+
steps:
315+
- uses: actions/checkout@v4
316+
with:
317+
ref: ${{ github.head_ref }}
318+
319+
- name: Run Auto-Refactor
320+
run: |
321+
# PR diff'ini al
322+
git diff main...HEAD --name-only > changed_files.txt
323+
324+
# MiniMax'e gönder (refactor önerileri)
325+
curl -X POST https://openrouter.ai/api/v1/chat/completions \
326+
-H "Authorization: Bearer $OPENROUTER_API_KEY" \
327+
-H "Content-Type: application/json" \
328+
-d '{
329+
"model": "minimax/MiniMax-M2.5",
330+
"messages": [{"role": "user", "content": "Bu kodları incele ve refactor/optimizasyon önerilerini listele."}]
331+
}'
332+
env:
333+
OPENROUTER_API_KEY: ${{ secrets.OPENROUTER_API_KEY }}
334+
```
335+
336+
3. **Secret ekle**: OpenRouter API key'i GitHub secrets'a ekle
337+
338+
### Nasıl Çalışır?
339+
340+
1. PR açılır → GitHub Action tetiklenir
341+
2. Bot değişiklikleri analiz eder
342+
3. MiniMax M2.5'e gönderir
343+
4. Refactor önerisi varsa commit atar
344+
5. Değişiklik yoksa herhangi bir şey yapmaz
345+
346+
**Maliyet**: ~$0.001/analiz (çok ucuz!)
347+
348+
---
349+
241350
## ⭐ Support
242351
243352
If you find this useful, please give it a ⭐ on [GitHub](https://github.com/halilertekin/CC-RouterMultiProvider)!

0 commit comments

Comments
 (0)