Skip to Content
Development GuideAI-Assisted Development

AI-Assisted Development

NeuG provides AI-assisted skills to streamline your development workflow. These skills are integrated with your coding agent (Cursor, Qoder, Qwen Code, etc.) as agent skills. You can use slash commands to invoke them.

Quick Start

1. Initialize skills for your coding agent:

./scripts/init_skills.sh <agent> # e.g., qoder, qwen

Note: Cursor is the default agent and does not require initialization.

See Supported Agents for full list.

2. Use skills in your chat box with a / prefix:

/create-issue I encountered a segfault when running this query...

Common Skills

/create-issue - Report Bugs or Request Features

Create GitHub issues directly from your IDE with full context.

Example: Report a Bug

/create-issue Type: Bug Assignee: @who Parent Issue: #42 The query fails with segfault. Terminal output: E20260112 10:23:45.123456 12345 executor.cc:271] Query execution failed Segmentation fault (core dumped)

Example: Request a Feature

/create-issue Type: Feature Assignee: @me I need support for OPTIONAL MATCH with multiple patterns. Currently only single pattern is supported.

Tips:

  • Copy-paste terminal error output directly - the agent will extract key information
  • Specify Type: Bug or Type: Feature to skip auto-detection
  • Use Assignee: @me or Assignee: @username to pre-assign
  • Use Parent Issue: #id to link as sub-issue

/create-pr - Submit Pull Requests

Create PRs with auto-generated summaries linked to related issues.

Example

/create-pr Fixes: #42 Reviewers: @who This fixes the segfault issue in query execution. Added null pointer check before accessing result buffer.

Tips:

  • Use Fixes: #id to auto-close the issue when PR merges
  • Use Reviewers: @user1, @user2 to request specific reviewers
  • The agent auto-generates PR title and summary from your changes

/update-with-comments - Address PR Feedback

Automatically fetch and apply PR review comments.

Example

/update-with-comments

Or specify a PR:

/update-with-comments #123

The agent will:

  1. Fetch all review comments from the PR
  2. Apply requested changes to your code
  3. Show a summary of modifications
  4. Commit and push after your review

Spec-Driven Workflow

For larger features, we provide a structured workflow to plan before implementing.

Step 1: /speckit.specify - Define the Feature

Create a feature specification from natural language.

Example

/speckit.specify Add graph algorithm extension support for NeuG. Users should be able to register custom algorithms and execute them via Cypher.

The agent will:

  1. Create a feature branch (e.g., 001-graph-algo-extension)
  2. Generate a specification document in specs/001-graph-algo-extension/spec.md
  3. Create a GitHub issue to track the feature
  4. Ask clarifying questions if needed (max 3)

Step 2: /speckit.plan - Plan the Implementation

Generate a technical plan from the specification.

Example

/speckit.plan 001-graph-algo-extension

The agent will:

  1. Analyze the spec and codebase structure
  2. Plan project structure, data models, and algorithms
  3. Generate plan.md with implementation details
  4. Create a linked GitHub issue

Step 3: /speckit.tasks - Break Down into Tasks

Generate actionable tasks from the plan.

Example

/speckit.tasks 001-graph-algo-extension

The agent will:

  1. Create module-level breakdown
  2. Generate task files for each module
  3. Each task is sized for independent testing

Sync to GitHub

After creating specs/plans/tasks, sync them to GitHub:

/sync-modules 001-graph-algo-extension # Sync module issues /sync-tasks 001-graph-algo-extension # Sync task issues

Setup

Prerequisites

Agent skills are implemented by markdown files and can be invoked by coding agent automatically or user explicitly.

To avoid accidental invocation, we set disable-model-invocation: true for all skills by default. You can only invoke them by slash commands. You can also customize the skills files to enable model invocation.

Installing Skills

We provide agent skills in Cursor format at .cursor/skills/. To convert for your agent:

./scripts/init_skills.sh <agent-shortcut>

Supported Agents

ShortcutAgentDocuments
cursorCursor (default)Cursor Skills 
claudeClaude CodeClaude Code Skills 
codebuddyCodeBuddyCodeBuddy Skills 
codexCodexCodex Skills 
geminiGemini CLIGemini CLI Skills 
kilocodeKilocodeKilocode Skills 
opencodeOpenCodeOpenCode Skills 
qoderQoderQoder Skills 
qwenQwen CodeQwen Code Skills 
rooRooCodeRooCode Skills 
windsurfWindsurfWindsurf Skills 

Note: Different agents might have minor differences in the Agent Skills standard. You can refer to the documents for more details.

Example:

./scripts/init_skills.sh qoder

Or manually specify output path:

./scripts/init_skills.sh --output=.qwen/skills

Skills Reference

SkillsPurpose
/create-issueCreate bug reports or feature requests
/create-prSubmit pull requests with auto-summary
/update-with-commentsApply PR review feedback
/speckit.specifyDefine feature specifications
/speckit.planCreate implementation plans
/speckit.tasksBreak plans into tasks
/sync-modulesSync module issues to GitHub
/sync-tasksSync task issues to GitHub
/generate_testcaseGenerate test cases