ルールベースのM&AプロセスQ&Aシステム - APIキー不要のシンプルなCLI Bot
M&A(合併・買収)プロセスに関する質問に回答する対話型CLIアプリケーションです。 10件のよくある質問と回答をデータベースに搭載し、キーワードマッチングで適切な回答を返します。
特徴:
- ✅ APIキー不要(外部API呼び出しなし)
- ✅ ルールベースのシンプルな実装
- ✅ TypeScriptで型安全
- ✅ 対話型CLIインターフェース
- ✅ テストカバレッジ完備
npm installnpm run devnpm run build
npm start========================================
🤝 M&Aプロセス QA Bot
========================================
📚 データベース: 10件のQ&Aを搭載
💡 使い方:
- M&Aに関する質問を入力してください
- "help" でヘルプを表示
- "topics" で利用可能なトピックを表示
- "exit" または "quit" で終了
質問を入力してください > デューデリジェンスとは?
【質問】デューデリジェンスとは?
【回答】
デューデリジェンス(Due Diligence)は、M&Aにおける買収前の詳細調査プロセスです。
財務、法務、ビジネス、ITなど多角的な観点から対象企業を調査し、リスクや価値を評価します。
通常2-3ヶ月程度かかります。
npm test # テスト実行
npm run test:watch # Watch mode
npm run test:coverage # カバレッジ付きnpm run build # TypeScriptビルド
npm run typecheck # 型チェック
npm run lint # Lintチェックma-process-qa-bot/
├── src/ # Source code
│ └── index.ts # Entry point
├── tests/ # Test files
│ └── example.test.ts
├── .claude/ # AI agent configuration
│ ├── agents/ # Agent definitions
│ └── commands/ # Custom commands
├── .github/
│ ├── workflows/ # CI/CD automation
│ └── labels.yml # Label system (53 labels)
├── CLAUDE.md # AI context file
└── package.json
This project uses 7 autonomous AI agents:
- CoordinatorAgent - Task planning & orchestration
- IssueAgent - Automatic issue analysis & labeling
- CodeGenAgent - AI-powered code generation
- ReviewAgent - Code quality validation (80+ score)
- PRAgent - Automatic PR creation
- DeploymentAgent - CI/CD deployment automation
- TestAgent - Test execution & coverage
- Create Issue: Describe what you want to build
- Agents Work: AI agents analyze, implement, test
- Review PR: Check generated pull request
- Merge: Automatic deployment
Issues transition through states automatically:
📥 state:pending- Waiting for agent assignment🔍 state:analyzing- Being analyzed🏗️ state:implementing- Code being written👀 state:reviewing- Under review✅ state:done- Completed & merged
# Check project status
npx miyabi status
# Watch for changes (real-time)
npx miyabi status --watch
# Create new issue
gh issue create --title "Add feature" --body "Description"Required variables (see .env.example):
GITHUB_TOKEN- GitHub personal access tokenANTHROPIC_API_KEY- Claude API key (optional for local development)REPOSITORY- Format:owner/repo
Workflows are pre-configured in .github/workflows/:
- CI/CD pipeline
- Automated testing
- Deployment automation
- Agent execution triggers
Note: Set repository secrets at:
https://github.com/MasaruYusa/ma-process-qa-bot/settings/secrets/actions
Required secrets:
GITHUB_TOKEN(auto-provided by GitHub Actions)ANTHROPIC_API_KEY(add manually for agent execution)
- Miyabi Framework: https://github.com/ShunsukeHayashi/Miyabi
- NPM Package: https://www.npmjs.com/package/miyabi
- Label System: See
.github/labels.yml - Agent Operations: See
CLAUDE.md
- Issues: https://github.com/ShunsukeHayashi/Miyabi/issues
- Discord: [Coming soon]
MIT
✨ Generated by Miyabi