Markdown Converter
Agent skill for markdown-converter
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Sign in to like and favorite skills
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Please communicate in Japanese (日本語) when interacting with users in this repository. The codebase and documentation support both Japanese and English, but user interactions should be conducted in Japanese.
Renkei (連携) is an AI-powered development assistant that integrates with tmux and Claude Code SDK. It orchestrates between an AI Manager and Claude Code to automate software development tasks through natural language instructions.
npm run dev # Start in development mode with auto-reload npm run build # Compile TypeScript to JavaScript npm run watch # Watch mode for continuous development
npm test # Run all tests npm run test:watch # Run tests in watch mode npm run test:coverage # Generate coverage report npm run lint # Check code with ESLint npm run lint:fix # Auto-fix ESLint issues npm run format # Format code with Prettier npm run type-check # Validate TypeScript types npm run check # Run all quality checks (type-check, lint, format, coverage)
./scripts/renkei-setup # Initial system setup ./scripts/renkei-start # Start the Renkei system ./scripts/renkei-stop # Stop the system ./scripts/renkei-task # Execute a task
Managers (
src/managers/)
AIManager: Orchestrates AI task analysis and executionSessionManager: Manages tmux sessions and persistenceConfigManager: Handles system configuration and profilesTaskManager: Coordinates task execution lifecycleIntegrations (
src/integrations/)
claude/: Claude API integration for AI capabilitiesUI Layer (
src/ui/)
TmuxManager: Controls tmux pane layout and interactionsEvaluators (
src/evaluators/)
createClaudeIntegration, createSettingsManagersrc/index.ts: Main entry point and CLI command setupsrc/interfaces/: TypeScript type definitions for all major componentsconfig/default-settings.json: Default system configurationsrc/utils/permissionValidator.ts: Security enforcement for Claude Code toolsThe system enforces strict permissions for Claude Code operations:
./workspace/ directory__tests__ directoriesnpm run test:watch during development for faster feedbackThe system supports multiple configuration profiles:
Configuration hierarchy:
config/default-settings.json (base)@anthropic-ai/claude-code: Claude Code SDK integrationcommander: CLI frameworkinquirer: Interactive promptsWhen starting new work (bug fixes, features, or any modifications), always follow these steps:
Create a new branch
fix/issue-descriptionfeat/feature-namedocs/update-descriptionrefactor/component-nameImplement changes
CRITICAL: Check for uncommitted changes before creating PR
git status to check for uncommitted changesgit diff before committingCreate Pull Request
Example:
git checkout -b fix/tmux-pane-error # Make your changes git add . # CRITICAL: Check what will be committed git status git diff --cached # Review any unstaged changes git diff # If there are unstaged changes, decide whether to include them git commit -m "fix: resolve tmux pane identification issue" git push origin fix/tmux-pane-error
Before creating any PR, ALWAYS:
git status - ensure no untracked or modified files remaingit diff - review any unstaged changesgit diff --cached - review staged changesWhen the user informs you that a PR has been merged:
git checkout maingit pull origin mainExample:
# After user says "マージしました" or "merged" git checkout main git pull origin main git branch -d feature-branch-name # Optional: clean up local branch
This ensures you're always working with the latest code and prevents conflicts.
src/interfaces/src/managers/src/index.ts if CLI integration neededsrc/utils/permissionValidator.tssrc/utils/__tests__/TmuxManagertmux attach -t renkei to manually inspect sessions