-
Notifications
You must be signed in to change notification settings - Fork 3
feat(skills): Add Claude Code validator setup skill #335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
dohernandez
wants to merge
3
commits into
main
Choose a base branch
from
feat/nod-638-add-skill-for-claude-code-to-install-node
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+3,614
−0
Open
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,16 @@ | ||||||
| { | ||||||
| "name": "genlayer-docs", | ||||||
| "description": "GenLayer validator setup and node management skills", | ||||||
| "version": "1.3.0", | ||||||
| "author": "GenLayer", | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| "repository": "https://github.com/genlayerlabs/genlayer-docs", | ||||||
| "skills": [ | ||||||
| { | ||||||
| "path": ".claude/skills/genlayer-validator-setup", | ||||||
| "name": "genlayer-validator-setup", | ||||||
| "description": "Interactive wizard to set up a GenLayer validator node on Linux", | ||||||
| "version": "1.3.0", | ||||||
| "tags": ["validator", "node", "installation", "blockchain", "genlayer"] | ||||||
| } | ||||||
| ] | ||||||
| } | ||||||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,93 @@ | ||
| # GenLayer Skills | ||
|
|
||
| Claude Code skills for GenLayer validator operations and node management. | ||
|
|
||
| ## Available Skills | ||
|
|
||
| ### genlayer-validator-setup | ||
|
|
||
| Interactive wizard to set up a GenLayer validator node on Linux servers. | ||
|
|
||
| **Features:** | ||
| - Prerequisites verification (architecture, RAM, dependencies) | ||
| - Wallet and staking wizard integration | ||
| - Software download with versioned directories | ||
| - Configuration generation with sensible defaults | ||
| - Operator key management | ||
| - LLM provider setup (Anthropic, Google, Heurist, etc.) | ||
| - Systemd service creation | ||
| - Telemetry/monitoring setup (optional) | ||
| - Version upgrades with shared storage | ||
|
|
||
| **Version:** 1.3.0 | ||
|
|
||
| **Documentation:** | ||
| - [Full Documentation](./genlayer-validator-setup/SKILL.md) | ||
| - [Installation Guide](#installation) | ||
|
|
||
| ## Installation | ||
|
|
||
| ### Method 1: Claude Code Plugin (Recommended) | ||
|
|
||
| ```bash | ||
| # Add the plugin marketplace | ||
| /plugin marketplace add genlayerlabs/genlayer-docs | ||
|
|
||
| # Install the skill | ||
| /plugin install genlayer-validator-setup@genlayer-docs | ||
| ``` | ||
|
|
||
| ### Method 2: Manual Installation | ||
|
|
||
| ```bash | ||
| # Clone the repository | ||
| git clone https://github.com/genlayerlabs/genlayer-docs.git | ||
|
|
||
| # Copy skill to your project | ||
| cp -r genlayer-docs/.claude/skills/genlayer-validator-setup \ | ||
| your-project/.claude/skills/ | ||
|
|
||
| # Or symlink it | ||
| ln -s $(pwd)/genlayer-docs/.claude/skills/genlayer-validator-setup \ | ||
| your-project/.claude/skills/genlayer-validator-setup | ||
| ``` | ||
|
|
||
| ### Method 3: Direct Usage (If in genlayer-docs repo) | ||
|
|
||
| The skill is already available if you're working within the genlayer-docs repository. Just invoke it: | ||
|
|
||
| ```bash | ||
| /genlayer-validator-setup | ||
| ``` | ||
|
|
||
| ## Usage | ||
|
|
||
| Once installed, activate the skill: | ||
|
|
||
| ```bash | ||
| /genlayer-validator-setup | ||
| ``` | ||
|
|
||
| Then tell Claude what you want to do: | ||
| - "I want to set up a new validator node" | ||
| - "Help me upgrade my node from v0.4.3 to v0.4.4" | ||
| - "I need to configure a new operator key" | ||
|
|
||
| ## What's Included | ||
|
|
||
| The skill provides: | ||
| - **46 documented anti-patterns** - Common mistakes to avoid | ||
| - **33 documented sharp edges** - Runtime issues with detection and fixes | ||
| - **Complete installation procedure** - Step-by-step guided setup | ||
| - **Validation rules** - Ensures correct configuration | ||
| - **Collaboration patterns** - Multi-session support | ||
|
|
||
| ## Support | ||
|
|
||
| - **Issues**: [GitHub Issues](https://github.com/genlayerlabs/genlayer-docs/issues) | ||
| - **Documentation**: [GenLayer Docs](https://docs.genlayer.com) | ||
| - **Discord**: [GenLayer Community](https://discord.gg/genlayer) | ||
|
|
||
| ## License | ||
|
|
||
| Apache 2.0 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what's this version?