Compare commits

..

7 Commits

Author SHA1 Message Date
Claude
107272c9fa Add interactive web page with separate JavaScript file
- Create index.html with interactive buttons and styling
- Create script.js with JavaScript functions for user interactions
- Features include message display, color changing, and date/time display

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-10 02:49:39 +00:00
GitHub Actions
8462b0700b chore: Update CHANGELOG.md 2025-10-09 17:50:27 +00:00
Ashwin Bhat
88d3666b7f Remove model specification from new-sdk-app command (#9232)
The model field is no longer needed in the command frontmatter as model selection is now handled at a different level.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <noreply@anthropic.com>
2025-10-09 10:11:08 -07:00
Ashwin Bhat
87a3b338c6 refactor: Update agent-sdk-dev plugin structure and configuration (#9230)
- Move plugin.json to .claude-plugin directory to match pr-review-toolkit pattern
- Add author information: Ashwin Bhat (ashwin@anthropic.com)
- Update model field from sonnet-4.5 to sonnet in all agent/command definitions

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <noreply@anthropic.com>
2025-10-09 09:56:12 -07:00
David Dworken
c6a1c392d7 Merge pull request #9231 from ddworken/dworken/marketplace
feat: add security-guidance plugin to marketplace.json
2025-10-09 09:52:58 -07:00
David Dworken
559db46b72 feat: add security-guidance plugin to marketplace.json 2025-10-09 09:50:34 -07:00
Sid Bidasaria
3139f287fb Merge pull request #9229 from anthropics/sidb/fix-feature-dev-agents
fix: agent model idenitifer names
2025-10-09 09:45:32 -07:00
9 changed files with 128 additions and 8 deletions

View File

@@ -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"
}
]
}

View File

@@ -1,5 +1,9 @@
# 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

64
index.html Normal file
View 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>

View 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"
}
}

View File

@@ -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.

View File

@@ -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.

View File

@@ -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:

View File

@@ -1,5 +0,0 @@
{
"name": "agent-sdk-dev",
"description": "Claude Agent SDK Development Plugin",
"version": "1.0.0"
}

38
script.js Normal file
View 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);
}
});
}
});