Commit Graph
9 Commits
Author SHA1 Message Date
Luong NGUYEN 3337f0df5e fix(plugins): address review (drop k8s MCP, pin GitHub server, tighten deploy hooks)
- devops-automation: remove the Kubernetes MCP server (.mcp.json in en/uk/vi)
  and every README mention of it; keep the deploy hooks.
- Pin GitHub's MCP server image to ghcr.io/github/github-mcp-server:v2.1.0.
- pre-deploy/post-deploy: detect deploys by command word (after &&, ;, |,
  newlines), skipping quoted strings and heredoc bodies, and allow global
  flags before the verb; document the limits.
- post-deploy: kubectl rollout status when DEPLOY_DEPLOYMENT is set, else the
  pod-ready wait on DEPLOY_APP_LABEL; clear message when kubectl is missing.
- pre-review: handle repos with no commits and detached HEAD; matcher accepts
  both pr-review:<cmd> and the bare name; hooks use exec form (args).
- INDEX.md, QUICK_REFERENCE.md, README.md and concepts guides (all locales):
  drop deleted mcp/*.json files and use /<plugin>:<command> names.

Refs #260
2026-11-12 14:01:32 +00:00
Luong NGUYEN dd3b83c786 fix(plugins): make the example plugins load their commands, hooks and MCP servers
- pr-review: add hooks/hooks.json registering pre-review.js on
  UserPromptExpansion for the plugin's three commands; the script now
  reads hook JSON from stdin, blocks with exit 2 outside a git repo and
  returns additionalContext otherwise.
- devops-automation: add hooks/hooks.json registering pre-deploy.js
  (PreToolUse) and post-deploy.js (PostToolUse) on Bash; both act only
  on deploy commands, read hook JSON from stdin and only read cluster
  state.
- All three: move MCP config to the plugin-root .mcp.json and delete
  mcp/*.json. GitHub uses the official github-mcp-server (read-only,
  token from GITHUB_TOKEN via GITHUB_PERSONAL_ACCESS_TOKEN); Kubernetes
  uses mcp-server-kubernetes in non-destructive mode, since
  @modelcontextprotocol/server-kubernetes is not published on npm.
- READMEs (en, fa, ja, ko, uk, vi, zh): namespaced /<plugin>:<command>
  names, validate step, hooks and MCP setup matching the files. uk and
  vi plugin trees get the same hook and MCP files.

Refs #260
2026-11-12 13:14:35 +00:00
Luong NGUYEN 232591b2a8 docs: sync to Claude Code v2.1.302 (#194)
* docs: sync to Claude Code v2.1.302

Release changes (v2.1.301-2.1.302): fork subagents on by default in claude -p, the Agent SDK, desktop and VS Code (CLAUDE_CODE_FORK_SUBAGENT=0 turns them off); claude -p / SDK sessions with no permission mode start in default on third-party providers, with telemetry off or on a fresh install; at most 12 prompt/agent hooks of one event run at once; new CLAUDE_CODE_AUTO_MODE_MODEL and CLAUDE_CODE_RETRY_WATCHDOG_MAX_USAGE_LIMIT_WAIT_MS; /config Idle compaction row; vim % motion; tool_decision OTel attributes; fable/best fallback; 64-argument limit; hook ask prompts name their plugin or skill; PowerShell finds plugin bin/; mod Input rows. Also: standalone Claude Design closes Dec 14, 2026; Sonnet 4.5 retires Nov 30, 2026; managed Code Review GA; npm install marked deprecated per the official README.

Verified drift fixes (each checked against code.claude.com): hook handler JSON shapes, prompt-hook response schema, exec/HTTP/mcp_tool hook fields; GitHub MCP URL (api.githubcopilot.com) and token; nonexistent @modelcontextprotocol/server-database; plugin layout, marketplace, userConfig, strictKnownMarketplaces, blockedMarketplaces and enabledPlugins shapes; nonexistent deniedPlugins, autoCheckpoint, planning.*/extendedThinking.* keys; invented 09 settings schema; claude -p JSON output jq paths; subagent forks via subagent_type "fork" not context: fork; --agents priority; MCP default scope; command descriptions; rewind menu has six options; broken nested code fence in 07-plugins. Shipped hook scripts: pre-commit.sh reads stdin and only gates git commit; validate-prompt.sh uses hookSpecificOutput; session-end.sh no longer reads /dev/tty. Fixes mirrored into vi/ja/zh/uk where the same claim existed.

Learning skills: quiz Lesson 05 Q2 option B (GitHub MCP URL; Correct letter unchanged), explanations for L02 Q2, L04 Q6/Q9, L09 Q1, L07 Q2 wording; self-assessment wording in paired files; lesson-quiz 1.6.2, self-assessment 2.5.5.

* fix(hooks): parse pre-commit.sh hook input with sed instead of jq

* fix(mcp): restore DATABASE_URL expansion and align MCP env var setup

* fix(mcp): align QUICK_REFERENCE GitHub token and Example 2 DATABASE_URL setup
2026-10-19 09:56:39 +02:00
Luong NGUYEN f24cc80842 docs: sync to Claude Code v2.1.300 (#193)
* docs: sync to Claude Code v2.1.300

Release changes (v2.1.299-2.1.300): remove --sandbox/--no-sandbox (gone from claude remote-control; never main-CLI flags); updatedInput validation; UserPromptSubmit runs before skill/command expansion; MCP permission rules and agent tools: match only the named server; MCP description limits (4,096 / 16,384, first-party exemption); transcripts record system prompts; idle compaction, idleCompaction setting and new env vars; plugin eval --disallow-tools; mods Text props (bold deprecated); agent view /effort and /fast.

Verified drift fixes: nonexistent /task, /session, /todo, /worktree commands and claude web; agent-teams env var; invalid plugin monitors and CLAUDE_PLUGIN_DATA hook examples; hook-events table, skill hook scope and once; skillOverrides; claude agents opens agent view; notify-team.sh git push filter; validate-prompt.sh prompt field; native installer recommended; prompt-cache TTL defaults; fast-mode models; /undo is a /rewind alias; CATALOG field rows and bundled skills; remove ignored name: from plugin command templates. Fixes mirrored into vi/ja/zh/uk where the same claim existed.

Learning skills: rescope quiz Lesson 03 Q8 to the Agent Skills spec, fix self-assessment Round 2 Option 4 and Round 4 Option 2, refresh explanations and a Review pointer; lesson-quiz 1.6.1, self-assessment 2.5.4.

* fix(hooks): match git push anywhere in notify-team.sh command
2026-10-15 22:23:05 +02:00
Luong NGUYEN b9a973bf32 docs: accuracy pass against Claude Code v2.1.220 (#155)
Internal accuracy pass against v2.1.220 — no missing upstream features, but broken example code, disagreeing counts, and metadata drift.

Functional fixes: pre-commit.sh now exits 2 so it actually blocks; dependency-check.sh reads file_path from stdin JSON instead of $1; database-mcp.json uses ${DATABASE_URL}; broken fences repaired; three command templates had invalid skill names.

Factual corrections: /fork and /subtask unswapped and /subtask added; /fewer-permission-prompts; permissions.defaultMode; dontAsk/auto unreversed; 31 hook events verified name-by-name; subagent depth 3; skill precedence enterprise > project > personal; /output-style removed not deprecated; permissionDecision gained defer.

Follow-up review fixed defects the pass left behind: zh/vi headers claiming 31 events above 25-name lists, a surviving hardcoded DB credential in the MCP README examples, an unbalanced fence swallowing a metadata footer, and non-canonical tool names. All four translated CATALOG summary tables were recounted so their arithmetic holds.

Full detail in CHANGELOG.md under v2.1.220-r2.
2026-08-04 15:41:12 +07:00
qszhu 7e369eefcb fix(i18n): correct logo image paths in translated module READMEs (#123) 2026-05-19 10:45:49 +02:00
Evgenij I 8438a0378a i18n(uk): complete P3 examples + P4 root docs translation
- Translate 07-plugins: devops-automation, documentation, pr-review
  (READMEs, commands, agents, templates)
- Update TRANSLATION_QUEUE.md — all priorities complete (100%)

Ref: luongnv89/claude-howto#63
2026-04-10 00:16:09 +03:00
Evgenij I f5659be047 i18n(uk): translate 07-plugins devops-automation & documentation
- Translate READMEs, commands, agents for both plugins
- Code/config/hooks files unchanged (no translation needed)

Ref: luongnv89/claude-howto#63
2026-04-10 00:13:13 +03:00
Evgenij I 1a567be793 i18n(uk): add missing files, translate P4 root docs
- Copy code/image/config files across all modules
- Translate brand-voice and code-review templates
- Translate CONTRIBUTING, CODE_OF_CONDUCT, SECURITY, STYLE_GUIDE
- Copy CHANGELOG as-is (technical log)

Ref: luongnv89/claude-howto#63
2026-04-09 23:59:59 +03:00