analyze-code
CommandAnalyze code quality, identify issues, and suggest improvements.
Create a new Nimbalyst extension project from a starter scaffold
> /plugin marketplace add nimbalyst/nimbalyst> /plugin install nimbalyst-wiki@nimbalyst
description: Create a new Nimbalyst extension project from a starter scaffold allowed_tools: - Read - Write - Edit - Glob - Bash
Scaffolds a new Nimbalyst extension project from a neutral starter scaffold and creates a development plan for user review before implementation begins.
This command follows a **plan-first approach**:
1. **Scaffold** - Create base project files (manifest, package.json, configs) 2. **Plan** - Generate a README.md with development plan for review 3. **Wait** - User reviews plan, answers questions, approves approach 4. **Implement** - Only after approval, build the actual extension code
**IMPORTANT**: Do NOT immediately implement the full extension. Create the scaffold and plan first, then STOP and wait for user feedback.
/new-extension <path> <name> [file-patterns]
Legacy form still works:
/new-extension <template> <path> <name> [file-patterns]
/new-extension ~/extensions/obj-viewer "OBJ Viewer" *.obj /new-extension ~/my-todo-extension "Todo List Editor" *.todo /new-extension ~/code-metrics "Code Metrics"
Create these base files only:
{
"id": "com.nimbalyst.<extension-name>",
"name": "<Extension Name>",
"version": "0.1.0",
"description": "<Brief description - will be refined in planning>",
"main": "dist/index.js",
"apiVersion": "1.0.0",
"permissions": {},
"contributions": {}
}`apiVersion` is currently optional but recommended.
{
"name": "<extension-id>",
"version": "0.1.0",
"private": true,
"type": "module",
"scripts": {
"build": "vite build"
},
"dependencies": {
"react": "^18.2.0"
},
"devDependencies": {
"@nimbalyst/extension-sdk": "^0.1.0",
"@types/react": "^18.2.0",
"typescript": "^5.0.0",
"vite": "^7.1.12"
}
}{
"compilerOptions": {
"target": "ES2020",
"module": "ESNext",
"moduleResolution": "bundler",
"jsx": "react-jsx",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"declaration": true,
"outDir": "dist",
"rootDir": "src"
},
"include": ["src/**/*"]
}import { defineConfig } from 'vite';
import { createExtensionConfig } from '@nimbalyst/extension-sdk/vite';
export default defineConfig(createExtensionConfig({
entry: './src/index.ts',
}));// Extension entry point - implementation pending plan approval
export const components = {};
export function activate() {
console.log('Extension activated');
}
export function deactivate() {
console.log('Extension deactivated');
}After creating the scaffold, generate a comprehensive README.md that serves as the development plan. This is the most important output - it should help clarify requirements before any coding begins.
# <Extension Name> > Development plan - please review and provide feedback before implementation begins. ## Overview <Brief description of what this extension will do> ## Open Questions Before building, I need clarification on: 1. **<Question about core functionality>** - Option A: ... - Option B: ... - Your preference? 2. **<Question about UI/UX>** - ... 3. **<Question about file format or data>** - ... 4. **<Question about edge cases>** - ... ## Proposed Features ### Core Features (v0.1.0) - [ ] <Feature 1> - [ ] <Feature 2> - [ ] <Feature 3> ### Nice to Have (Future) - [ ] <Future feature 1> - [ ] <Future feature 2> ## Design Mockups <If this is a visual extension, consider creating mockup files> Would you like me to create a `.mockup.html` file to visualize the UI before building? - [ ] Yes, create a mockup first - [ ] No, proceed with implementation ## Technical Approach ### File Format <Description of how files will be parsed/stored> ### Component Structure <High-level description of React components> ### AI Tools (if applicable) <What AI tools will be provided and what they'll do> ## Implementation Checklist ### Phase 1: Basic Structure - [ ] Set up manifest.json with contributions - [ ] Create main editor component - [ ] Implement file parsing - [ ] Implement file serialization - [ ] Basic styling with theme variables ### Phase 2: Core Functionality - [ ] <Specific feature implementation> - [ ] <Another feature> - [ ] Error handling ### Phase 3: Polish - [ ] Keyboard shortcuts - [ ] Undo/redo support - [ ] Performance optimization for large files ### Phase 4: AI Integration (if needed) - [ ] Define AI tools - [ ] Implement tool handlers - [ ] Test with Claude ## Next Steps Please review this plan and: 1. Answer the open questions above 2. Confirm or modify the feature list 3. Let me know if you want mockups first 4. Say "approved" or "proceed" when ready to start implementation --- *This plan was generated by the Extension Developer Kit. Edit as needed.*
After creating the scaffold and README.md:
1. **Tell the user** the project has been scaffolded 2. **Point them to README.md** to review the development plan 3. **Ask them to review** and provide feedback 4. **Do NOT start implementing** until they approve
Example response after scaffolding:
> I've created the extension scaffold at `<path>` with: > - `manifest.json` - Extension metadata > - `package.json` - Dependencies > - `tsconfig.json` - TypeScript config > - `vite.config.ts` - Build config > - `src/index.ts` - Placeholder entry point > - `README.md` - **Development plan
Nimbalyst - The open-source visual workspace for Claude Code, Codex, and OpenCode. Run multiple coding agents in parallel, edit their work visually in markdown, mockups, and diagrams, and track tasks. Free, MIT-licensed desktop app for macOS, Windows, Linux, with mobile companion for iOS and Android.
Analyze code quality, identify issues, and suggest improvements.
Audit recent AI coding sessions to find repeated mistakes, speed losses, and missed Nimbalyst tool usage — then propose harness…
Triage pnpm audit findings and produce a prioritized, supply-chain-cautious package-update plan, then apply approved batches
Survey recently triaged GitHub issues, propose the ones safe to fix without a product decision, and fan the selected ones out to…
Gather details and draft an actionable bug report for developers.
Shortcut for "continue working" — pick the work in flight back up exactly where it stopped and keep going until it is done or…