commit 538ca9a8f6f71a36e306125907499ced5a978d88 Author: Zhongwei Li Date: Sat Nov 29 18:51:47 2025 +0800 Initial commit diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json new file mode 100644 index 0000000..438b2a0 --- /dev/null +++ b/.claude-plugin/plugin.json @@ -0,0 +1,15 @@ +{ + "name": "neural-network-builder", + "description": "Build and configure neural network architectures", + "version": "1.0.0", + "author": { + "name": "Claude Code Plugins", + "email": "[email protected]" + }, + "skills": [ + "./skills" + ], + "commands": [ + "./commands" + ] +} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..dc426e0 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# neural-network-builder + +Build and configure neural network architectures diff --git a/commands/build-nn.md b/commands/build-nn.md new file mode 100644 index 0000000..7e9e4fa --- /dev/null +++ b/commands/build-nn.md @@ -0,0 +1,15 @@ +--- +description: Execute AI/ML task with intelligent automation +--- + +# AI/ML Task Executor + +You are an AI/ML specialist. When this command is invoked: + +1. Analyze the current context and requirements +2. Generate appropriate code for the ML task +3. Include data validation and error handling +4. Provide performance metrics and insights +5. Save artifacts and generate documentation + +Support modern ML frameworks and best practices. diff --git a/plugin.lock.json b/plugin.lock.json new file mode 100644 index 0000000..c6fd7e9 --- /dev/null +++ b/plugin.lock.json @@ -0,0 +1,61 @@ +{ + "$schema": "internal://schemas/plugin.lock.v1.json", + "pluginId": "gh:jeremylongshore/claude-code-plugins-plus:plugins/ai-ml/neural-network-builder", + "normalized": { + "repo": null, + "ref": "refs/tags/v20251128.0", + "commit": "2c80b9ab83e20115bda5cdc9412ca6b52aa50e80", + "treeHash": "8199d2aa66de0a2e9f78a779359393b0ffcb671a765e85be15758116f7b42212", + "generatedAt": "2025-11-28T10:18:36.857232Z", + "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": "neural-network-builder", + "description": "Build and configure neural network architectures", + "version": "1.0.0" + }, + "content": { + "files": [ + { + "path": "README.md", + "sha256": "4210db522d2b055053aff94ccfcd44b12876868d46b0cb9555a2ef03e46f4028" + }, + { + "path": ".claude-plugin/plugin.json", + "sha256": "bc9c54727096b891af2f426d0c0ebe77c4c16714f357bbf285ee90761680e06e" + }, + { + "path": "commands/build-nn.md", + "sha256": "043efb83e2f02fc6d0869c8a3a7388d6e49f6c809292b93dd6a97a1b142e5647" + }, + { + "path": "skills/neural-network-builder/SKILL.md", + "sha256": "c6d74ec5a2444f6f90357f8a9b6fe138e761bff49e326f2ec306abe73d9126b1" + }, + { + "path": "skills/neural-network-builder/references/README.md", + "sha256": "a6299b2e5095e51b0debdff42eb7ee95d7bcdeb3dd771ada1ec738567f58e19e" + }, + { + "path": "skills/neural-network-builder/scripts/README.md", + "sha256": "ed9f5f191123655069a8ce0fcd6a0387f8640bd2d60d0d3ce18c8df19339dbed" + }, + { + "path": "skills/neural-network-builder/assets/README.md", + "sha256": "ce0d443eeec04279bb6dd9b9cb94ce5caf3b647ac845d22fbeba7c3f22dd0b6f" + } + ], + "dirSha256": "8199d2aa66de0a2e9f78a779359393b0ffcb671a765e85be15758116f7b42212" + }, + "security": { + "scannedAt": null, + "scannerVersion": null, + "flags": [] + } +} \ No newline at end of file diff --git a/skills/neural-network-builder/SKILL.md b/skills/neural-network-builder/SKILL.md new file mode 100644 index 0000000..21737cf --- /dev/null +++ b/skills/neural-network-builder/SKILL.md @@ -0,0 +1,52 @@ +--- +name: building-neural-networks +description: | + This skill allows Claude to construct and configure neural network architectures using the neural-network-builder plugin. It should be used when the user requests the creation of a new neural network, modification of an existing one, or assistance with defining the layers, parameters, and training process. The skill is triggered by requests involving terms like "build a neural network," "define network architecture," "configure layers," or specific mentions of neural network types (e.g., "CNN," "RNN," "transformer"). +allowed-tools: Read, Write, Edit, Grep, Glob, Bash +version: 1.0.0 +--- + +## Overview + +This skill empowers Claude to design and implement neural networks tailored to specific tasks. It leverages the neural-network-builder plugin to automate the process of defining network architectures, configuring layers, and setting training parameters. This ensures efficient and accurate creation of neural network models. + +## How It Works + +1. **Analyzing Requirements**: Claude analyzes the user's request to understand the desired neural network architecture, task, and performance goals. +2. **Generating Configuration**: Based on the analysis, Claude generates the appropriate configuration for the neural-network-builder plugin, specifying the layers, activation functions, and other relevant parameters. +3. **Executing Build**: Claude executes the `build-nn` command, triggering the neural-network-builder plugin to construct the neural network based on the generated configuration. + +## When to Use This Skill + +This skill activates when you need to: +- Create a new neural network architecture for a specific machine learning task. +- Modify an existing neural network's layers, parameters, or training process. +- Design a neural network using specific layer types, such as convolutional, recurrent, or transformer layers. + +## Examples + +### Example 1: Image Classification + +User request: "Build a convolutional neural network for image classification with three convolutional layers and two fully connected layers." + +The skill will: +1. Analyze the request and determine the required CNN architecture. +2. Generate the configuration for the `build-nn` command, specifying the layer types, filter sizes, and activation functions. + +### Example 2: Text Generation + +User request: "Define an RNN architecture for text generation with LSTM cells and an embedding layer." + +The skill will: +1. Analyze the request and determine the required RNN architecture. +2. Generate the configuration for the `build-nn` command, specifying the LSTM cell parameters, embedding dimension, and output layer. + +## Best Practices + +- **Layer Selection**: Choose appropriate layer types (e.g., convolutional, recurrent, transformer) based on the task and data characteristics. +- **Parameter Tuning**: Experiment with different parameter values (e.g., learning rate, batch size, number of layers) to optimize performance. +- **Regularization**: Implement regularization techniques (e.g., dropout, L1/L2 regularization) to prevent overfitting. + +## Integration + +This skill integrates with the core Claude Code environment by utilizing the `build-nn` command provided by the neural-network-builder plugin. It can be combined with other skills for data preprocessing, model evaluation, and deployment. \ No newline at end of file diff --git a/skills/neural-network-builder/assets/README.md b/skills/neural-network-builder/assets/README.md new file mode 100644 index 0000000..d1b175b --- /dev/null +++ b/skills/neural-network-builder/assets/README.md @@ -0,0 +1,7 @@ +# Assets + +Bundled resources for neural-network-builder skill + +- [ ] example_configurations/: Directory containing example neural network configurations for different tasks. +- [ ] visualization_templates/: Directory containing templates for visualizing neural network architectures and performance metrics. +- [ ] sample_datasets/: Directory containing sample datasets for training and evaluating neural networks. diff --git a/skills/neural-network-builder/references/README.md b/skills/neural-network-builder/references/README.md new file mode 100644 index 0000000..e8e961a --- /dev/null +++ b/skills/neural-network-builder/references/README.md @@ -0,0 +1,8 @@ +# References + +Bundled resources for neural-network-builder skill + +- [ ] neural_network_fundamentals.md: A comprehensive guide to neural network fundamentals, including terminology, architectures, and training algorithms. +- [ ] layer_configuration_options.md: Detailed documentation of available layer types and configuration options. +- [ ] training_best_practices.md: Best practices for training neural networks, including data preprocessing, hyperparameter tuning, and regularization techniques. +- [ ] evaluation_metrics.md: Explanation of various evaluation metrics used to assess neural network performance. diff --git a/skills/neural-network-builder/scripts/README.md b/skills/neural-network-builder/scripts/README.md new file mode 100644 index 0000000..ca75ccd --- /dev/null +++ b/skills/neural-network-builder/scripts/README.md @@ -0,0 +1,8 @@ +# Scripts + +Bundled resources for neural-network-builder skill + +- [ ] build_network.py: Script to build a neural network based on a given configuration. +- [ ] train_network.py: Script to train a neural network using specified data and parameters. +- [ ] evaluate_network.py: Script to evaluate the performance of a trained neural network. +- [ ] visualize_network.py: Script to visualize the architecture and performance of a neural network.