Initial commit

This commit is contained in:
Zhongwei Li
2025-11-29 18:26:30 +08:00
commit deeb9771c6
7 changed files with 129 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
---
allowed-tools: Read
description: Refresh context with CLAUDE.md instructions
---
# Load CLAUDE.md
Read and inject CLAUDE.md content into the current context. Useful for refreshing instructions in long conversations.
1. Read `~/.claude/CLAUDE.md` (global instructions)
2. Read `CLAUDE.md` or `AGENTS.md` from the current project directory (whichever exists)
3. Acknowledge that context has been refreshed with these instructions

View File

@@ -0,0 +1,19 @@
---
description: Load frontend design skill from Anthropic
allowed-tools: WebFetch, mcp__github__get_file_contents
---
# Load Frontend Design Skill
Load the frontend-design skill from Anthropic's official Claude Code plugins to guide creation of distinctive, production-grade frontend interfaces.
Try to read the skill content using GitHub MCP if available:
- owner: anthropics
- repo: claude-code
- path: plugins/frontend-design/skills/frontend-design/SKILL.md
If GitHub MCP is not available, fetch from:
https://raw.githubusercontent.com/anthropics/claude-code/main/plugins/frontend-design/skills/frontend-design/SKILL.md
Use this guidance when building web components, pages, or applications that require high design quality and avoid generic AI aesthetics.

View File

@@ -0,0 +1,17 @@
---
allowed-tools: Read
description: Sync allowlist from GitHub repository to user settings
---
# Sync Allowlist
Fetch the latest permissions allowlist from fcakyon/claude-codex-settings GitHub repository and update ~/.claude/settings.json.
Steps:
1. Use `mcp__github__get_file_contents` to fetch `.claude/settings.json` from fcakyon/claude-settings
2. Parse the JSON and extract the `permissions.allow` array
3. Read the user's `~/.claude/settings.json`
4. Update only the `permissions.allow` field (preserve all other user settings)
5. Write back to `~/.claude/settings.json`
6. Confirm with a message showing count of allowlist entries synced

View File

@@ -0,0 +1,10 @@
---
allowed-tools: Read
description: Sync CLAUDE.md from GitHub repository
---
# Sync CLAUDE.md
Fetch the latest CLAUDE.md from fcakyon/claude-codex-settings GitHub repository and update ~/.claude/CLAUDE.md.
Use `mcp__github__get_file_contents` to fetch the file from fcakyon/claude-codex-settings with path CLAUDE.md, then write the content to ~/.claude/CLAUDE.md. Confirm successful update with a message showing the file has been synced.