Skip to content

Repository files navigation

🚀 OpenSem

Bootstrapping template for Serena + Superpowers in Claude Code

License: MITVersionClaude Code

10-30x efficiency boost • Zero scripts • 3-minute setup

⚠️ IMPORTANT: OpenSem requires Serena and Superpowers to work. Install them first before continuing.

What is OpenSem?Before vs AfterFeaturesQuick StartConfigurationContributing

中文文档 | English


📖 What is OpenSem?

OpenSem is a bootstrapping template system that activates two powerful Claude Code plugins:

Why it matters:

Claude Code ships with these plugins, but they're unconfigured by default. Using Claude Code without activating them is like using VS Code without extensions—you're missing 90% of the potential.

What OpenSem does:

  1. Generates .serena/project.yml with proper LSP servers for your project
  2. Initializes persistent memory templates (code conventions, architecture, workflows)
  3. Activates Superpowers skills for complex workflows
  4. Configures project-specific modes and contexts

Result: Claude Code transforms from a generic assistant into a project-aware expert—delivering 10-30x efficiency gains.


⚡ Before vs After

🔴 Claude Code (Default State)

Without OpenSem, Claude Code operates without semantic awareness:

You: "Refactor the UserService class"
Claude: *Generic refactoring that doesn't know your:*
* - inheritance hierarchy
* - coding standards
* - test patterns
You: *Explain patterns, fix style, add tests...*

Metrics:

  • First-pass success rate: 60%
  • Iterations needed: 4-5
  • Context setup time: 5 minutes
  • Code revision needed: 40%

🟢 Claude Code + OpenSem (Activated)

With OpenSem, Claude Code has LSP understanding and persistent memory:

You: "Refactor the UserService class"
Claude: *Uses LSP to understand:*
* - parent classes and interfaces
* - project code conventions
* - test patterns from memory
* - common workflows

Metrics:

  • First-pass success rate: 95% (↑ 58%)
  • Iterations needed: 1 (↓ 80%)
  • Context setup time: 10 seconds (↑ 30x)
  • Code revision needed: 5% (↓ 87%)

📊 The 10-30x Improvement

MetricDefaultWith OpenSemImprovement
First-pass success60%95%1.6x
Iterations needed4-514-5x
Context setup5 min10 sec30x
Code revision40%5%8x
Overall session efficiency1x10-30x10-30x

✨ Features

FeatureDescription
🔌 Plugin ActivationOne-command setup for Serena + Superpowers
🧠 LSP Semantic Understanding15+ language servers for accurate code analysis
💾 Persistent Memory6 memory templates for conventions that stick
3-Minute SetupCopy folder, run command, done
🎨 Dynamic GenerationAuto-generates configs for any language
📦 Self-ContainedSingle folder copy—works with Serena + Superpowers

🚀 Quick Start

⚠️ Step 1: Install Prerequisites (Required!)

OpenSem will NOT work without these components. You MUST install them first:

ComponentPurposeWhat happens without itDownload
SerenaLSP semantic analysisClaude can't understand your code structureGitHubDocs
SuperpowersReusable skill systemNo persistent workflows or patternsGitHub

🔴 Do NOT skip this step. OpenSem cannot function without Serena + Superpowers.


Step 2: Copy OpenSem to Your Project

# Clone from GitHub (code only, no history)
git clone --depth 1 https://github.com/luckyops/OpenSem.git opensem
cp -r opensem /path/to/your-project/
cd /path/to/your-project

Step 3: Activate

Open Claude Code and say:

"Use OpenSem to configure my project"

That's it! Claude Code will:

  1. Analyze your project structure
  2. Select appropriate LSP servers
  3. Generate .serena/project.yml
  4. Initialize memory templates
  5. Activate Serena + Superpowers

3 minutes later, Claude Code is 10-30x more effective.


📋 Supported Projects

CategoryTechnologies
🌐 Web FrontendReact, Vue, Next.js, Angular, Svelte, SolidJS, Astro
🔧 Backend APINode.js, Python (Django/FastAPI/Flask), Go, Java, C#, Ruby, PHP, Rust
🎯 FullstackNext.js+Python, React+Go, Vue+Node.js, Svelte+Rust
📱 MobileReact Native, Flutter, Swift, Kotlin, Ionic
🖥️ DesktopElectron, Tauri, Qt
CLI ToolsNode.js, Python, Go, Rust, Shell
📊 Data/AIPython (ML/Data Science), Jupyter, R, Julia
⛓️ BlockchainSolidity, Rust (Solana), Go (Cosmos), JS (Tezos)
🎮 Game DevUnity (C#/C++), Unreal, Godot
🔬 EmbeddedArduino, C/C++, Rust, FreeRTOS
🔍 AnalysisReadonly mode for external codebases

Note: Core templates include TypeScript and Python. All other languages are dynamically generated with best practices.


📁 Project Structure

opensem/
├── LICENSE # MIT License
├── README.md # This file
├── README.zh-CN.md # Chinese documentation
├── CHANGELOG.md # Version history
├── CONTRIBUTING.md # Contribution guide
│
├── .github/ # GitHub templates
│ ├── ISSUE_TEMPLATE/
│ └── PULL_REQUEST_TEMPLATE.md
│
├── configs/ # Core configuration templates
│ ├── typescript.yml # TypeScript/JavaScript
│ ├── python.yml # Python
│ ├── fullstack.yml # Multi-language projects
│ ├── readonly.yml # Readonly analysis mode
│ └── default.yml # Default configuration
│
├── templates/ # Memory & knowledge templates
│ ├── project_overview.md # Project overview
│ ├── tech_stack.md # Technology stack
│ ├── code_conventions.md # Coding standards
│ ├── project_structure.md # Directory structure
│ ├── suggested_commands.md # Common commands
│ └── task_checklist.md # Completion checklist
│
└── docs/ # Additional documentation
├── INSTRUCTIONS.md # Claude Code instructions
└── SUPERPOWERS.md # Skills reference

🔧 Configuration Reference

Standard Config Structure

# .serena/project.ymlproject_name: "your-project-name"languages:
- typescript # LSP: typescript
- python # LSP: python
- markdown # For documentationencoding: "utf-8"ignore_all_files_in_gitignore: trueignored_paths:
- "**/node_modules/**"
- "**/dist/**"
- "**/build/**"read_only: falsebase_modes:
- editing # Enable code editing
- interactive # Enable interactive modeinitial_prompt: | Welcome to {PROJECT_NAME}! Project-specific context and guidelines here.

Available LSP Servers

LanguageLSP ServerConfig Key
TypeScripttypescripttypescript
JavaScripttypescriptjavascript
Pythonpythonpython
Gogogo
Rustrustrust
Javajavajava
Kotlinkotlinkotlin
C#csharp_omnisharpcsharp
Rubyruby_solargraphruby
PHPintelephensephp
Swiftsourcekit-lspswift
Dartdartdart
Soliditysoliditysolidity
C/C++cppcpp

🤝 Contributing

We welcome contributions! Please see CONTRIBUTING.md for details.


📜 License

This project is licensed under the MIT License - see the LICENSE file for details.


🙏 Acknowledgments

OpenSem is built upon amazing open-source tools:

ProjectDescriptionLinks
SerenaSemantic code analysis powered by LSPGitHubDocs
SuperpowersPowerful skill system for Claude CodeGitHub
Claude CodeNext-generation AI coding assistantDocs

🔗 Related Resources


🌟 Star History

Star History Chart


Made with ❤️ by the community

⬆ Back to Top

About

Serena + Superpowers Templates is a YAML-based configuration system for Claude Code that leverages LSP through Serena and extensible skill frameworks through Superpowers. The system provides pre-configured project templates with automatic language server detection, memory template management, and mode-based workflow configuration.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors