Token导航 LogoToken导航TokenDH.com
开发需要联网clawhub未标认证来源可访问clear审计提醒

neckr0ik-code-generatorneckr0ik 代码生成器

Agent Skill

neckr0ik-code-generator 用于辅助前端页面、组件、样式和交互逻辑开发,适合在 OpenClaw 中需要维护前端项目、生成组件或检查界面实现时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

8,661

周安装

347

GitHub Stars

公开资料未说明

下载量

2,804
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:neckr0ik-code-generator(neckr0ik 代码生成器)
来源仓库:https://github.com/neckr0ik/neckr0ik-code-generator
安装命令:
openclaw skills install neckr0ik-code-generator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install neckr0ik-code-generator

简介

neckr0ik-code-generator 辅助前端组件、样式和交互逻辑开发,适合生成项目支架或 CRUD 操作样板。

  • 可用于创建 API 客户端、数据库模型及测试代码,加速开发周期。
  • 安装后可通过原始 README 了解支持的框架和输出格式。
  • 涉及文件写入时应确认权限,避免覆盖重要代码或引入安全风险。
  • 适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。

SKILL.md

name
neckr0ik-code-generator
version
1.0.0
description
Generate boilerplate code for common patterns. Creates project scaffolds, CRUD operations, API clients, database models, tests. Use when you need to quickly scaffold code.

Code Generator

Generate production-ready boilerplate code instantly.

What This Does

  • Project Scaffolds — Python, Node.js, Go, Rust project structure
  • CRUD Operations — Create, Read, Update, Delete boilerplate
  • API Clients — REST and GraphQL client generators
  • Database Models — SQLAlchemy, Prisma, TypeORM models
  • Test Templates — Unit tests, integration tests, mocks
  • Config Files — Docker, CI/CD, linting, formatting

Quick Start

# Generate a new Python project
neckr0ik-code-generator scaffold python my-project

# Generate CRUD operations for a model
neckr0ik-code-generator crud User --fields "name,email,created_at"

# Generate an API client
neckr0ik-code-generator api-client --spec https://api.example.com/openapi.json

# Generate tests
neckr0ik-code-generator tests --source ./src --type unit

Supported Languages

LanguageScaffoldCRUDAPIModelsTests
Python✅ SQLAlchemy✅ pytest
TypeScript✅ Prisma/TypeORM✅ Jest
Go✅ GORM✅ testing
Rust✅ Diesel✅ cargo test
Node.js✅ Mongoose✅ Jest

Commands

scaffold

Create new project structure.

neckr0ik-code-generator scaffold <language> <name> [options]

Options:
  --template <name>    Template variant (api, web, cli, library)
  --features <list>    Comma-separated features (auth, database, tests, ci)
  --output <dir>       Output directory

crud

Generate CRUD operations.

neckr0ik-code-generator crud <ModelName> [options]

Options:
  --fields <list>      Comma-separated field definitions (name:type)
  --language <lang>    Target language (default: python)
  --database <type>    Database type (sql, mongodb, postgresql)
  --output <dir>       Output directory

api-client

Generate API client from spec.

neckr0ik-code-generator api-client [options]

Options:
  --spec <url>         OpenAPI spec URL or file
  --language <lang>    Target language (default: python)
  --output <dir>       Output directory

model

Generate database model.

neckr0ik-code-generator model <ModelName> [options]

Options:
  --fields <list>      Comma-separated field definitions
  --orm <name>         ORM (sqlalchemy, prisma, typeorm, gorm)
  --migrations         Generate migration files
  --output <dir>       Output directory

test

Generate test templates.

neckr0ik-code-generator test [options]

Options:
  --source <dir>       Source directory to analyze
  --type <type>        Test type (unit, integration, e2e)
  --framework <name>   Test framework (pytest, jest, testing)
  --output <dir>       Output directory

config

Generate configuration files.

neckr0ik-code-generator config <type> [options]

Types:
  docker       Dockerfile and docker-compose
  ci           CI/CD pipeline (GitHub Actions, GitLab CI)
  lint         Linting config (eslint, ruff, golangci-lint)
  format       Formatting config (prettier, black, gofmt)

Options:
  --language <lang>   Target language
  --output <dir>       Output directory

Generated Code Quality

  • Type-safe — Full type annotations where supported
  • Documented — Docstrings and comments
  • Tested — Example tests included
  • Modern — Latest patterns and best practices
  • Clean — Readable, maintainable code

Example: Python CRUD

# Generated: user_crud.py

from typing import List, Optional
from sqlalchemy.orm import Session
from models import User
from schemas import UserCreate, UserUpdate

class UserCRUD:
    """CRUD operations for User model."""

    def create(self, db: Session, user: UserCreate) -> User:
        """Create a new user."""
        db_user = User(
            name=user.name,
            email=user.email,
        )
        db.add(db_user)
        db.commit()
        db.refresh(db_user)
        return db_user

    def get(self, db: Session, user_id: int) -> Optional[User]:
        """Get a user by ID."""
        return db.query(User).filter(User.id == user_id).first()

    def get_multi(self, db: Session, skip: int = 0, limit: int = 100) -> List[User]:
        """Get multiple users."""
        return db.query(User).offset(skip).limit(limit).all()

    def update(self, db: Session, user_id: int, user: UserUpdate) -> Optional[User]:
        """Update a user."""
        db_user = self.get(db, user_id)
        if db_user:
            for key, value in user.dict(exclude_unset=True).items():
                setattr(db_user, key, value)
            db.commit()
            db.refresh(db_user)
        return db_user

    def delete(self, db: Session, user_id: int) -> bool:
        """Delete a user."""
        db_user = self.get(db, user_id)
        if db_user:
            db.delete(db_user)
            db.commit()
            return True
        return False

Use Cases

  • New Projects — Start with production-ready structure
  • Rapid Prototyping — Generate boilerplate, focus on logic
  • Code Reviews — Generate consistent code patterns
  • Learning — Study generated code for best practices

Templates

Templates are stored in references/templates/:

  • python/api/ — Python FastAPI project
  • python/cli/ — Python CLI tool
  • typescript/api/ — Node.js Express API
  • typescript/web/ — React + TypeScript web app
  • go/api/ — Go REST API
  • rust/cli/ — Rust CLI tool

See Also

  • references/templates/ — Code templates
  • scripts/generator.py — Main generator

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

94.05%
按下载量换算2,637

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills