mirror of
https://github.com/anthropics/claude-code.git
synced 2026-02-19 04:27:33 -08:00
Compare commits
10 Commits
sidb/featu
...
claude/cre
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
107272c9fa | ||
|
|
8462b0700b | ||
|
|
88d3666b7f | ||
|
|
87a3b338c6 | ||
|
|
c6a1c392d7 | ||
|
|
559db46b72 | ||
|
|
3139f287fb | ||
|
|
00f53cb2cb | ||
|
|
af073adcd1 | ||
|
|
b03aea4649 |
@@ -46,6 +46,17 @@
|
||||
},
|
||||
"source": "./plugins/feature-dev",
|
||||
"category": "development"
|
||||
},
|
||||
{
|
||||
"name": "security-guidance",
|
||||
"description": "Security reminder hook that warns about potential security issues when editing files, including command injection, XSS, and unsafe code patterns",
|
||||
"version": "1.0.0",
|
||||
"author": {
|
||||
"name": "David Dworken",
|
||||
"email": "dworken@anthropic.com"
|
||||
},
|
||||
"source": "./plugins/security-guidance",
|
||||
"category": "security"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
18
CHANGELOG.md
18
CHANGELOG.md
@@ -1,5 +1,23 @@
|
||||
# Changelog
|
||||
|
||||
## 2.0.13
|
||||
|
||||
- Fixed `/plugin` not working on native build
|
||||
|
||||
## 2.0.12
|
||||
|
||||
- **Plugin System Released**: Extend Claude Code with custom commands, agents, hooks, and MCP servers from marketplaces
|
||||
- `/plugin install`, `/plugin enable/disable`, `/plugin marketplace` commands for plugin management
|
||||
- Repository-level plugin configuration via `extraKnownMarketplaces` for team collaboration
|
||||
- `/plugin validate` command for validating plugin structure and configuration
|
||||
- Plugin announcement blog post at https://www.anthropic.com/news/claude-code-plugins
|
||||
- Plugin documentation available at https://docs.claude.com/en/docs/claude-code/plugins
|
||||
- Comprehensive error messages and diagnostics via `/doctor` command
|
||||
- Avoid flickering in `/model` selector
|
||||
- Improvements to `/help`
|
||||
- Avoid mentioning hooks in `/resume` summaries
|
||||
- Changes to the "verbose" setting in `/config` now persist across sessions
|
||||
|
||||
## 2.0.11
|
||||
|
||||
- Reduced system prompt size by 1.4k tokens
|
||||
|
||||
64
index.html
Normal file
64
index.html
Normal file
@@ -0,0 +1,64 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Sample Web Page</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
margin: 0;
|
||||
padding: 20px;
|
||||
background-color: #f4f4f4;
|
||||
}
|
||||
.container {
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
background-color: white;
|
||||
padding: 30px;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
|
||||
}
|
||||
h1 {
|
||||
color: #333;
|
||||
text-align: center;
|
||||
}
|
||||
.button {
|
||||
background-color: #007bff;
|
||||
color: white;
|
||||
padding: 10px 20px;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
font-size: 16px;
|
||||
margin: 10px 5px;
|
||||
}
|
||||
.button:hover {
|
||||
background-color: #0056b3;
|
||||
}
|
||||
#output {
|
||||
margin-top: 20px;
|
||||
padding: 15px;
|
||||
background-color: #f8f9fa;
|
||||
border-left: 4px solid #007bff;
|
||||
border-radius: 4px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h1>Welcome to My Web Page</h1>
|
||||
<p>This is a sample web page with JavaScript functionality.</p>
|
||||
|
||||
<button class="button" onclick="showMessage()">Show Message</button>
|
||||
<button class="button" onclick="changeColor()">Change Color</button>
|
||||
<button class="button" onclick="showDateTime()">Show Date/Time</button>
|
||||
|
||||
<div id="output">
|
||||
<p>Click a button to see JavaScript in action!</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="script.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
9
plugins/agent-sdk-dev/.claude-plugin/plugin.json
Normal file
9
plugins/agent-sdk-dev/.claude-plugin/plugin.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "agent-sdk-dev",
|
||||
"description": "Claude Agent SDK Development Plugin",
|
||||
"version": "1.0.0",
|
||||
"author": {
|
||||
"name": "Ashwin Bhat",
|
||||
"email": "ashwin@anthropic.com"
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
name: agent-sdk-verifier-py
|
||||
description: Use this agent to verify that a Python Agent SDK application is properly configured, follows SDK best practices and documentation recommendations, and is ready for deployment or testing. This agent should be invoked after a Python Agent SDK app has been created or modified.
|
||||
model: sonnet-4.5
|
||||
model: sonnet
|
||||
---
|
||||
|
||||
You are a Python Agent SDK application verifier. Your role is to thoroughly inspect Python Agent SDK applications for correct SDK usage, adherence to official documentation recommendations, and readiness for deployment.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
name: agent-sdk-verifier-ts
|
||||
description: Use this agent to verify that a TypeScript Agent SDK application is properly configured, follows SDK best practices and documentation recommendations, and is ready for deployment or testing. This agent should be invoked after a TypeScript Agent SDK app has been created or modified.
|
||||
model: sonnet-4.5
|
||||
model: sonnet
|
||||
---
|
||||
|
||||
You are a TypeScript Agent SDK application verifier. Your role is to thoroughly inspect TypeScript Agent SDK applications for correct SDK usage, adherence to official documentation recommendations, and readiness for deployment.
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
---
|
||||
description: Create and setup a new Claude Agent SDK application
|
||||
argument-hint: [project-name]
|
||||
model: sonnet-4.5
|
||||
---
|
||||
|
||||
You are tasked with helping the user create a new Claude Agent SDK application. Follow these steps carefully:
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
{
|
||||
"name": "agent-sdk-dev",
|
||||
"description": "Claude Agent SDK Development Plugin",
|
||||
"version": "1.0.0"
|
||||
}
|
||||
@@ -2,7 +2,7 @@
|
||||
name: code-architect
|
||||
description: Designs feature architectures by analyzing existing codebase patterns and conventions, then providing comprehensive implementation blueprints with specific files to create/modify, component designs, data flows, and build sequences
|
||||
tools: Glob, Grep, LS, Read, NotebookRead, WebFetch, TodoWrite, WebSearch, KillShell, BashOutput
|
||||
model: sonnet-4.5
|
||||
model: sonnet
|
||||
color: green
|
||||
---
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
name: code-explorer
|
||||
description: Deeply analyzes existing codebase features by tracing execution paths, mapping architecture layers, understanding patterns and abstractions, and documenting dependencies to inform new development
|
||||
tools: Glob, Grep, LS, Read, NotebookRead, WebFetch, TodoWrite, WebSearch, KillShell, BashOutput
|
||||
model: sonnet-4.5
|
||||
model: sonnet
|
||||
color: yellow
|
||||
---
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
name: code-reviewer
|
||||
description: Reviews code for bugs, logic errors, security vulnerabilities, code quality issues, and adherence to project conventions, using confidence-based filtering to report only high-priority issues that truly matter
|
||||
tools: Glob, Grep, LS, Read, NotebookRead, WebFetch, TodoWrite, WebSearch, KillShell, BashOutput
|
||||
model: sonnet-4.5
|
||||
model: sonnet
|
||||
color: red
|
||||
---
|
||||
|
||||
|
||||
38
script.js
Normal file
38
script.js
Normal file
@@ -0,0 +1,38 @@
|
||||
// Sample JavaScript functions for the web page
|
||||
|
||||
function showMessage() {
|
||||
const output = document.getElementById('output');
|
||||
output.innerHTML = '<p><strong>Hello from JavaScript!</strong> This message was generated by the external script file.</p>';
|
||||
}
|
||||
|
||||
function changeColor() {
|
||||
const output = document.getElementById('output');
|
||||
const colors = ['#e3f2fd', '#f3e5f5', '#e8f5e8', '#fff3e0', '#fce4ec'];
|
||||
const randomColor = colors[Math.floor(Math.random() * colors.length)];
|
||||
|
||||
output.style.backgroundColor = randomColor;
|
||||
output.innerHTML = '<p>Background color changed! The new color is: <strong>' + randomColor + '</strong></p>';
|
||||
}
|
||||
|
||||
function showDateTime() {
|
||||
const output = document.getElementById('output');
|
||||
const now = new Date();
|
||||
const dateTimeString = now.toLocaleString();
|
||||
|
||||
output.innerHTML = '<p>Current date and time: <strong>' + dateTimeString + '</strong></p>';
|
||||
}
|
||||
|
||||
// Add event listener for when the page loads
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
console.log('JavaScript file loaded successfully!');
|
||||
|
||||
// You can add any initialization code here
|
||||
const container = document.querySelector('.container');
|
||||
if (container) {
|
||||
container.addEventListener('click', function(event) {
|
||||
if (event.target.classList.contains('button')) {
|
||||
console.log('Button clicked:', event.target.textContent);
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user