This document explains the automated systems that keep this repository up-to-date using Claude Code, GitHub Actions, and MCP integrations.
This repository uses two automated systems:
| System | Trigger | Purpose |
|---|---|---|
| Weekly Auto-Update | GitHub Actions (cron) | Research and add new AI coding tools |
| Auto-Translation | Claude Code Hook | Sync Korean/Japanese translations |
Weekly Auto-Update:
flowchart LR
A[GitHub Actions] --> B[Claude Code] --> C[Perplexity MCP] --> D[Update README] --> E[Create PR]
Auto-Translation:
flowchart LR
A[Edit README.md] --> B[Hook] --> C[translate] --> D[Agents] --> E[ko + ja]
The weekly update system automatically researches and adds new AI coding tools to the README.
sequenceDiagram
participant GHA as GitHub Actions
participant CC as Claude Code
participant MCP as Perplexity MCP
participant Repo as Repository
GHA->>GHA: Trigger (Sunday 00:00 UTC)
GHA->>CC: Start headless mode
CC->>Repo: Read README.md
CC->>MCP: Search "latest AI coding tools 2025"
MCP-->>CC: Return search results
CC->>CC: Compare with existing entries
CC->>Repo: Add new tools to README.md
CC->>CC: Run translate command
CC->>Repo: Update README.ko.md, README.ja.md
CC-->>GHA: Changes complete
GHA->>Repo: Create Pull Request
File: .github/workflows/weekly-update.yml
name: Weekly README Update
on:
schedule:
- cron: '0 0 * * 0' # Every Sunday at 00:00 UTC
workflow_dispatch: # Manual trigger
inputs:
category:
description: 'Category to update'
default: 'all'| Category | Section | Search Query |
|---|---|---|
ide |
IDE & Editor Assistants | AI coding IDE tools 2025 |
agentic |
Agentic Coding Environments | Autonomous AI coding agents 2025 |
cloud |
Cloud & Platform Integrations | AI cloud development platforms 2025 |
learning |
Learning Resources | Vibe coding research papers articles 2025 |
all |
All sections | All of the above |
- Go to Actions tab in GitHub
- Select Weekly README Update
- Click Run workflow
- Optionally select a specific category
When README.md is edited, a hook automatically triggers translation to Korean and Japanese.
flowchart TB
A[User edits README.md] --> B{PostToolUse Hook}
B -->|Edit or Write tool| C[translate-readme.sh]
C --> D[Output instruction]
D --> E[Claude reads instruction]
E --> F[Execute translate]
F --> G[Read README.md]
G --> H[Parallel Agents]
H --> I[Agent 1: Korean]
H --> J[Agent 2: Japanese]
I --> K[README.ko.md]
J --> L[README.ja.md]
The /translate command supports two modes:
flowchart TB
A[translate command] --> B{Mode?}
B -->|Default| C[Incremental Sync]
C --> C1[Read both files]
C1 --> C2[Find differences]
C2 --> C3[Translate only new items]
C3 --> C4[Insert at same position]
B -->|Full| D[Full Translation]
D --> D1[Read README.md]
D1 --> D2[Translate entire file]
D2 --> D3[Overwrite target file]
File: .claude/settings.json
{
"hooks": {
"PostToolUse": [
{
"matcher": "Edit|Write",
"hooks": [
{
"type": "command",
"command": "\"$CLAUDE_PROJECT_DIR/.claude/hooks/translate-readme.sh\""
}
]
}
]
}
}File: .claude/commands/translate.md
The command instructs Claude to:
- Read README.md and target language file
- Identify new/modified/deleted items
- Translate and insert at the exact same position
- Preserve markdown formatting, links, and code blocks
| Rule | Example |
|---|---|
| Keep technical terms | Claude Code, MCP, GitHub Actions |
| Keep URLs unchanged | [Website](https://example.com) |
| Preserve table structure | | Tool | Description | |
| Add space after bold (Korean) | **텍스트** 다음 |
.claude/
├── commands/
│ └── translate.md # Translation command definition
├── hooks/
│ └── translate-readme.sh # Hook script for auto-translation
├── mcp.json # MCP server configuration
└── settings.json # Claude Code settings
.github/
├── prompts/
│ └── weekly-update.md # Update prompt template
└── workflows/
└── weekly-update.yml # GitHub Actions workflow
File: .claude/mcp.json
{
"mcpServers": {
"perplexity-ask": {
"command": "npx",
"args": ["-y", "@anthropic-ai/mcp-perplexity"],
"env": {
"PERPLEXITY_API_KEY": "${PERPLEXITY_API_KEY}"
}
}
}
}- GitHub repository with Actions enabled
- Anthropic API key
- Perplexity API key
gh secret set ANTHROPIC_API_KEY --body "your-key"
gh secret set PERPLEXITY_API_KEY --body "your-key"- Go to repository Settings
- Navigate to Actions → General
- Enable "Allow all actions and reusable workflows"
- Go to Actions tab
- Select Weekly README Update
- Click Run workflow
- Monitor the workflow execution
- Make a small edit to README.md using Claude Code
- Observe the hook output message
- Confirm translations are updated
| Issue | Solution |
|---|---|
| Workflow not running | Check cron syntax and Actions permissions |
| API key errors | Verify secrets are correctly set |
| No changes detected | Check if new tools were found |
| PR creation failed | Verify contents: write permission |
| Issue | Solution |
|---|---|
| Hook not triggering | Verify settings.json configuration |
| Wrong file detected | Check file path matching in hook script |
| Translation incomplete | Ensure both files are readable |