▤ Trigram Vibe Code System
🇯🇵 日本語 (Japanese) のREADMEを表示
▤ Trigram Vibe Code System
Trigramの Vibe Code System (VCS) へようこそ。VS Code向けのコンテキスト対応型AIワークフロー拡張機能です。
Vibe Code Systemは、AIコーディングアシスタント(Cline、Cursor、Antigravityなど)が盲目的にコードを実行するのを防ぎ、協調的なパートナーとして機能するように制御します。エディタ内で厳密な3フェーズの開発ワークフロー、コンテキストの保存、メモリバンク、およびローカルRAGインデックスを実装します。
私たちは、新規プロジェクトの立ち上げや、AIエージェントが特定のタスクをより良く実行できるようにするために、自分たちでこれを使用しています。あなたにとっても同じように役立つことを願っています。
▤ 主な機能
- 厳密なエージェント制御 (
✧ Brainstorm, ☷ Plan, ⚙ Build, ▶ Proceed): エージェントの暴走を防ぐワークフローを強制します。AIは制限されており、開発フェーズを進めるにはユーザーの明示的な承認を得る必要があります。
- ⏻ Agent Initialization Prompt: 新しい会話やセッションの開始時に、AIエージェントを一発で接地・同期させるための4ステップ初期化プロンプトをワンクリックで生成・コピーします。
- 暗号化されたVault (
⚿ Pre-Decrypt / ⛨ Lock Vault): 環境変数、APIキー、機密データを .vibe-vault.key でAES-256暗号化して安全に保存します。平文をGitリポジトリに漏洩することなく、セッション中に一時復号化し、終了後は ⛨ Lock Vault で平文シークレットを即座に破棄できます。
- Context Explorer とスクラッチノート管理: ドキュメントとスクラッチノートのタグ別整理、インラインでのワンクリックコピーや削除、階層表示を提供します。
- ローカルRAGと重み付けセマンティック検索: サブディレクトリ(
docs/core/ など)を含む全ドキュメントを再帰的にインデックス化し、タグ・概要・ファイルパス・本文の重要度に応じた高精度なスコアリング検索を実行します。
- クイックスキャフォールディング (+ Git自動初期化):
+ New Project を使って、.agents、規範ドキュメント、.gitignore、およびGitリポジトリの初期化を即座に実行します。
- メモリバンク & コンテキスト保存:
⤓ Save Context でAIブレインの会話アーティファクトを docs/ にエクスポートし、セッション間のコンテキスト消失を防ぎます。
▶ 使い方
- VCSサイドバーの + New Project をクリックして、
.agents、docs/core、および .gitignore を自動生成します。
- ⏻ Agent Initialization Prompt をクリックして初期化プロンプトをコピーし、AIチャットに貼り付けてエージェントを接地します。
- アーキテクチャ関連のドキュメントを
docs/ フォルダに保存し、⟳ Sync to Brain でローカルRAGデータベース (.vibe-rag.json) にインデックス化します。
- Agent Mode(
✧ Brainstorm、☷ Plan、⚙ Build)をクリップボードにコピーしてAIプロンプトに貼り付け、開発フェーズを厳格に制御します。
- 作業完了時は ⛨ Lock Vault をクリックして、一時的な平文シークレットファイルを安全に破棄します。
Welcome to Trigram's Vibe Code System (VCS), a contextual AI workflow extension for VS Code.
Vibe Code System forces AI coding assistants (like Cline, Cursor, Antigravity, and others) to stop blindly executing and start acting like a collaborative partner. It implements a strict 3-phase development workflow, context saving, a Memory Bank, and local RAG indexing right inside your editor.
We use it ourselves to assist in spooling up new projects and guiding our AI agents to perform predictably on complex tasks. We hope it does the same for you.
▤ Features
- Strict Agent Workflow Controls (
✧ Brainstorm, ☷ Plan, ⚙ Build, ▶ Proceed): Enforce a gated workflow that prevents agent hyperactivity. The AI is restricted and must receive user permission to proceed between divergence, planning, and implementation.
- ⏻ Agent Initialization Prompt: Kickstart and ground any AI agent session in seconds with a single click, providing the agent with workspace rules, memory querying commands, and operational boundaries.
- Encrypted Vault Lifecycle (
⚿ Pre-Decrypt / ⛨ Lock Vault): Store environment variables, API keys, and sensitive notes with AES-256 encryption. Pre-decrypt into temporary memory for agent pairing sessions, and immediately purge plaintext secrets from disk using ⛨ Lock Vault.
- Context Explorer & Scratch Notes Management: Tree-view explorer grouping notes by semantic tags (
architecture, keys, gotchas), with direct inline copy ($(clippy)) and delete ($(trash)) context menu controls.
- Recursive RAG Indexing & Weighted Semantic Search: Recursively indexes all workspace documentation (including
docs/core/) and ranks queries with weighted scoring prioritizing semantic tags (+5), file paths (+4), and summaries (+3) over raw body text.
- Project Scaffolding (+ Git Auto-Init): Instantly generate complete project foundations with
+ New Project, creating .agents/, canonical docs/core/, secret-protected .gitignore, and initializing Git baseline commits automatically.
- Context Preservation (
⤓ Save Context): Export AI conversation artifacts from IDE brain paths into persistent, human-readable markdown in docs/ with automated Git tracking.
▶ Getting Started
- Click + New Project in the VCS Sidebar to scaffold
.agents/, docs/core/, .gitignore, and Git version control.
- Click ⏻ Agent Initialization Prompt in the sidebar and paste into your AI agent's chat to ground it.
- Place architectural specifications in
docs/ and click ⟳ Sync to Brain to index into the local RAG database (.vibe-rag.json).
- Control the agent's phase using the Agent Modes buttons (
✧ Brainstorm -> ☷ Plan -> ⚙ Build).
- When finished working with sensitive notes, click ⛨ Lock Vault to purge decrypted plaintext files.
▤ Supported Languages
VCS UI commands, sidebars, and notifications are natively translated into:
English, German (Deutsch), Spanish (Español), Finnish (Suomi), French (Français), Italian (Italiano), Japanese (日本語), Korean (한국어), Malay (Bahasa Melayu), Dutch (Nederlands), Polish (Polski), Portuguese (Português), Russian (Русский), Swedish (Svenska), Ukrainian (Українська), and Simplified Chinese (简体中文).
▤ Support the Project
If this extension supercharges your workflow, consider supporting the creator! And please, send an email to me at don@trigr.am if you have a story to share. Thanks!

| |