Claude Code Zed integration enables developers to use Claude Code CLI within the Zed editor. It benefits developers who prefer Zed for coding tasks. The integration connects Claude Code's AI capabilities to Zed's workflow, enhancing productivity. Note that this extension is archived and no longer maintained.
git clone https://github.com/jiahaoxiang2000/claude-code-zed.gitClaude Code Zed integration enables developers to use Claude Code CLI within the Zed editor. It benefits developers who prefer Zed for coding tasks. The integration connects Claude Code's AI capabilities to Zed's workflow, enhancing productivity. Note that this extension is archived and no longer maintained.
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/jiahaoxiang2000/claude-code-zedCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Act as a Zed extension developer. Write a Python script for a Zed extension that integrates with the Claude Code CLI. The extension should allow users to send code snippets from Zed to Claude Code for analysis, suggestions, and improvements. The script should include functions for sending code, receiving responses, and displaying them within Zed. Use the following placeholders: [ZED_API_KEY], [CLAUDE_CODE_API_KEY], [CODE_SNIPPET].
```python
import requests
import json
class ClaudeCodeZedExtension:
def __init__(self, zed_api_key, claude_code_api_key):
self.zed_api_key = zed_api_key
self.claude_code_api_key = claude_code_api_key
def send_code_to_claude(self, code_snippet):
headers = {
'Authorization': f'Bearer {self.zed_api_key}',
'Content-Type': 'application/json'
}
data = {
'code': code_snippet,
'api_key': self.claude_code_api_key
}
response = requests.post('https://api.claude-code.com/analyze', headers=headers, data=json.dumps(data))
return response.json()
def display_response(self, response):
print('Analysis Results:')
print('-----------------')
for key, value in response.items():
print(f'{key}: {value}')
# Example usage
zed_api_key = 'your_zed_api_key'
claude_code_api_key = 'your_claude_code_api_key'
code_snippet = """
def hello_world():
print('Hello, World!')
"""
extension = ClaudeCodeZedExtension(zed_api_key, claude_code_api_key)
response = extension.send_code_to_claude(code_snippet)
extension.display_response(response)
```Create Beautiful Branded Deliverables. Ship Professionally. Repeat.
AI assistant built for thoughtful, nuanced conversation
IronCalc is a spreadsheet engine and ecosystem
Customer feedback management made simple
Enterprise workflow automation and service management platform
Automate your spreadsheet tasks with AI power
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan