mirror of
https://github.com/centminmod/my-claude-code-setup.git
synced 2025-12-17 15:36:53 +00:00
update Claude Code documentation urls for Claude Code doc SKILL
This commit is contained in:
parent
e2daa32405
commit
02a85cc6be
@ -28,23 +28,24 @@ For the most frequently referenced topics, fetch these detailed documentation fi
|
|||||||
### Hooks Documentation
|
### Hooks Documentation
|
||||||
|
|
||||||
- **hooks-guide.md** - Comprehensive guide to creating hooks with examples and best practices
|
- **hooks-guide.md** - Comprehensive guide to creating hooks with examples and best practices
|
||||||
- URL: `https://docs.claude.com/en/docs/claude-code/hooks-guide.md`
|
|
||||||
|
- URL: `https://code.claude.com/docs/en/hooks-guide.md`
|
||||||
- Use for: Understanding hook lifecycle, creating new hooks, examples
|
- Use for: Understanding hook lifecycle, creating new hooks, examples
|
||||||
|
|
||||||
- **hooks.md** - Hooks API reference with event types and parameters
|
- **hooks.md** - Hooks API reference with event types and parameters
|
||||||
- URL: `https://docs.claude.com/en/docs/claude-code/hooks.md`
|
- URL: `https://code.claude.com/docs/en/hooks.md`
|
||||||
- Use for: Hook event reference, available events, parameter details
|
- Use for: Hook event reference, available events, parameter details
|
||||||
|
|
||||||
### Skills Documentation
|
### Skills Documentation
|
||||||
|
|
||||||
- **skills.md** - Skills creation guide and structure reference
|
- **skills.md** - Skills creation guide and structure reference
|
||||||
- URL: `https://docs.claude.com/en/docs/claude-code/skills.md`
|
- URL: `https://code.claude.com/docs/en/skills.md`
|
||||||
- Use for: Creating skills, understanding SKILL.md format, bundled resources
|
- Use for: Creating skills, understanding SKILL.md format, bundled resources
|
||||||
|
|
||||||
### Subagents Documentation
|
### Subagents Documentation
|
||||||
|
|
||||||
- **sub-agents.md** - Subagent types, parameters, and usage
|
- **sub-agents.md** - Subagent types, parameters, and usage
|
||||||
- URL: `https://docs.claude.com/en/docs/claude-code/sub-agents.md`
|
- URL: `https://code.claude.com/docs/en/sub-agents.md`
|
||||||
- Use for: Available subagent types, when to use Task tool, subagent parameters
|
- Use for: Available subagent types, when to use Task tool, subagent parameters
|
||||||
|
|
||||||
## Workflow for Selective Fetching
|
## Workflow for Selective Fetching
|
||||||
@ -65,7 +66,7 @@ Determine which documentation is needed based on the task:
|
|||||||
For features not covered by the 4 common docs above, fetch the docs map to discover available documentation:
|
For features not covered by the 4 common docs above, fetch the docs map to discover available documentation:
|
||||||
|
|
||||||
```
|
```
|
||||||
URL: https://docs.claude.com/en/docs/claude-code/claude_code_docs_map.md
|
URL: https://code.claude.com/docs/en/claude_code_docs_map.md
|
||||||
```
|
```
|
||||||
|
|
||||||
The docs map lists all available Claude Code documentation with descriptions. Identify the relevant doc(s) from the map.
|
The docs map lists all available Claude Code documentation with descriptions. Identify the relevant doc(s) from the map.
|
||||||
@ -76,7 +77,7 @@ Use WebFetch to retrieve only the specific documentation needed:
|
|||||||
|
|
||||||
```
|
```
|
||||||
WebFetch:
|
WebFetch:
|
||||||
url: https://docs.claude.com/en/docs/claude-code/[doc-name].md
|
url: https://code.claude.com/docs/en/[doc-name].md
|
||||||
prompt: "Extract the full documentation content"
|
prompt: "Extract the full documentation content"
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -85,6 +86,7 @@ Fetch multiple docs in parallel if the task requires information from several so
|
|||||||
### Step 4: Apply Documentation to Task
|
### Step 4: Apply Documentation to Task
|
||||||
|
|
||||||
Use the fetched documentation to:
|
Use the fetched documentation to:
|
||||||
|
|
||||||
- Verify correct API usage
|
- Verify correct API usage
|
||||||
- Understand available parameters and options
|
- Understand available parameters and options
|
||||||
- Follow best practices and examples
|
- Follow best practices and examples
|
||||||
@ -97,6 +99,7 @@ Use the fetched documentation to:
|
|||||||
**User request:** "Help me create a pre-tool-use hook to log all tool calls"
|
**User request:** "Help me create a pre-tool-use hook to log all tool calls"
|
||||||
|
|
||||||
**Process:**
|
**Process:**
|
||||||
|
|
||||||
1. Identify need: Hook creation requires hooks documentation
|
1. Identify need: Hook creation requires hooks documentation
|
||||||
2. Fetch `hooks-guide.md` for creation process and examples
|
2. Fetch `hooks-guide.md` for creation process and examples
|
||||||
3. Fetch `hooks.md` for pre-tool-use event reference
|
3. Fetch `hooks.md` for pre-tool-use event reference
|
||||||
@ -107,6 +110,7 @@ Use the fetched documentation to:
|
|||||||
**User request:** "My skill isn't loading - help me fix SKILL.md"
|
**User request:** "My skill isn't loading - help me fix SKILL.md"
|
||||||
|
|
||||||
**Process:**
|
**Process:**
|
||||||
|
|
||||||
1. Identify need: Skill structure requires skills documentation
|
1. Identify need: Skill structure requires skills documentation
|
||||||
2. Fetch `skills.md` for SKILL.md format requirements
|
2. Fetch `skills.md` for SKILL.md format requirements
|
||||||
3. Apply: Validate frontmatter, structure, and bundled resources
|
3. Apply: Validate frontmatter, structure, and bundled resources
|
||||||
@ -116,6 +120,7 @@ Use the fetched documentation to:
|
|||||||
**User request:** "Which subagent should I use to search the codebase?"
|
**User request:** "Which subagent should I use to search the codebase?"
|
||||||
|
|
||||||
**Process:**
|
**Process:**
|
||||||
|
|
||||||
1. Identify need: Subagent selection requires subagent documentation
|
1. Identify need: Subagent selection requires subagent documentation
|
||||||
2. Fetch `sub-agents.md` for subagent types and capabilities
|
2. Fetch `sub-agents.md` for subagent types and capabilities
|
||||||
3. Apply: Recommend appropriate subagent (e.g., Explore or code-searcher)
|
3. Apply: Recommend appropriate subagent (e.g., Explore or code-searcher)
|
||||||
@ -125,10 +130,11 @@ Use the fetched documentation to:
|
|||||||
**User request:** "How do I configure Claude Code settings.json?"
|
**User request:** "How do I configure Claude Code settings.json?"
|
||||||
|
|
||||||
**Process:**
|
**Process:**
|
||||||
|
|
||||||
1. Identify need: Not covered by the 4 common docs
|
1. Identify need: Not covered by the 4 common docs
|
||||||
2. Fetch docs map: `claude_code_docs_map.md`
|
2. Fetch docs map: `claude_code_docs_map.md`
|
||||||
3. Discover: Find relevant doc (e.g., `settings.md`)
|
3. Discover: Find relevant doc (e.g., `settings.md`)
|
||||||
4. Fetch specific doc: `https://docs.claude.com/en/docs/claude-code/settings.md`
|
4. Fetch specific doc: `https://code.claude.com/docs/en/settings.md`
|
||||||
5. Apply: Configure settings.json correctly
|
5. Apply: Configure settings.json correctly
|
||||||
|
|
||||||
## Best Practices
|
## Best Practices
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user