Initial commit

This commit is contained in:
Zhongwei Li
2025-11-29 18:06:42 +08:00
commit 784afe7b44
4 changed files with 83 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
{
"name": "optimize",
"description": "Analyze and optimize code performance",
"version": "1.0.0",
"author": {
"name": " Anand Tyagi",
"url": "https://github.com/ananddtyagi"
},
"commands": [
"./commands"
]
}

3
README.md Normal file
View File

@@ -0,0 +1,3 @@
# optimize
Analyze and optimize code performance

23
commands/optimize.md Normal file
View File

@@ -0,0 +1,23 @@
---
allowed-tools: Bash(du:*), Bash(wc:*)
description: Analyze and optimize code performance
---
## Context
- File size: !`du -h $ARGUMENTS 2>/dev/null || echo "File not specified"`
- Line count: !`wc -l $ARGUMENTS 2>/dev/null || echo "File not specified"`
## Your task
Analyze and optimize: @$ARGUMENTS
Focus areas:
1. **Algorithm efficiency**: Improve time/space complexity
2. **Memory usage**: Reduce memory footprint
3. **I/O operations**: Optimize file/network operations
4. **Caching opportunities**: Identify cacheable operations
5. **Lazy loading**: Implement lazy loading where beneficial
6. **Bundle optimization**: Reduce bundle size (if applicable)
Provide before/after comparisons and performance impact estimates.

45
plugin.lock.json Normal file
View File

@@ -0,0 +1,45 @@
{
"$schema": "internal://schemas/plugin.lock.v1.json",
"pluginId": "gh:ccplugins/awesome-claude-code-plugins:plugins/optimize",
"normalized": {
"repo": null,
"ref": "refs/tags/v20251128.0",
"commit": "a8c33d7bede55b6753811e9f0370c577802c959c",
"treeHash": "883b224fcef129da24e384c3b5b62460972f7a1a30931bd31ca9f96598f2ed6b",
"generatedAt": "2025-11-28T10:14:33.852722Z",
"toolVersion": "publish_plugins.py@0.2.0"
},
"origin": {
"remote": "git@github.com:zhongweili/42plugin-data.git",
"branch": "master",
"commit": "aa1497ed0949fd50e99e70d6324a29c5b34f9390",
"repoRoot": "/Users/zhongweili/projects/openmind/42plugin-data"
},
"manifest": {
"name": "optimize",
"description": "Analyze and optimize code performance",
"version": "1.0.0"
},
"content": {
"files": [
{
"path": "README.md",
"sha256": "d487a7498c34666a5aa54d420a4160e1f4ba46e40184b69ea1fa1ff0e9ab0f1a"
},
{
"path": ".claude-plugin/plugin.json",
"sha256": "5a6df408ba86c1a0f1be113e9e44bbbe6a8eecab2bcc93a343b7063779af7f77"
},
{
"path": "commands/optimize.md",
"sha256": "db0e5221e55c80888ce90a8a79ec4b9b2d4199c67330fa621d77d3ebf6f0308a"
}
],
"dirSha256": "883b224fcef129da24e384c3b5b62460972f7a1a30931bd31ca9f96598f2ed6b"
},
"security": {
"scannedAt": null,
"scannerVersion": null,
"flags": []
}
}