Getting Started with IQPilot in Learn Hub
Getting Started with IQPilot in Learn Hub
π― Overview
This repository uses IQPilot - an optional AI-assisted content development tool that enhances GitHub Copilot with specialized validation, gap analysis, and metadata management capabilities.
β¨ IQPilot is completely optional - all core features work with GitHub Copilot alone!
What IQPilot Provides
Without IQPilot (GitHub Copilot only):
- β Automated content validation (grammar, readability, structure)
- β Template-based content creation
- β Manual metadata management
- β
Standalone prompts via
.github/prompts/
With IQPilot (Enhanced MCP Mode):
- β Everything above, PLUS:
- β Validation caching (avoids redundant AI calls)
- β Automatic metadata synchronization on file renames
- β Advanced gap analysis and cross-referencing
- β 16 specialized MCP tools
- β Series validation and consistency checks
Choose your mode:
- MCP Mode - Full IQPilot experience
- Prompts Only - Standalone prompts, no MCP server
- Off - Standard GitHub Copilot
See .iqpilot/README.md for mode comparison and switching guide.
π Prerequisites
Before you begin, ensure you have:
- β Visual Studio Code (v1.85.0 or later)
- β GitHub Copilot extension installed
- β .NET 8.0 SDK - Download here
- β Node.js (v20.x or later) - Download here
- β PowerShell (Windows - usually pre-installed)
π First-Time Setup
Quick Setup (Prompts Only Mode)
If you just want to use standalone prompts with GitHub Copilot (no MCP server):
Prerequisites: VS Code + GitHub Copilot extension
Configure mode: Edit
.vscode/settings.json:{ "iqpilot.enabled": true, "iqpilot.mode": "prompts-only" }Reload VS Code:
Ctrl+Shift+Pβ βDeveloper: Reload WindowβStart using: Prompts from
.github/prompts/are available via Copilot Chat
β No build required - works immediately with GitHub Copilot!
Full Setup (MCP Mode)
For the complete IQPilot experience with validation caching and automatic metadata sync:
Step 1: Build IQPilot MCP Server
IQPilot runs as an MCP (Model Context Protocol) server that integrates with GitHub Copilot:
# In VS Code terminal (Ctrl+`)
cd src/IQPilot
dotnet build --configuration ReleaseThis will:
- Build the C# MCP server
- Create the executable in
bin/Release/net8.0/ - Prepare IQPilot for integration with VS Code
Expected output:
Build succeeded.
0 Warning(s)
0 Error(s)
Step 2: Copy to MCP Servers Directory
# From repository root
Copy-Item src/IQPilot/bin/Release/net8.0/* .copilot/mcp-servers/iqpilot/ -Recurse -ForceStep 3: Configure Mode
Edit .vscode/settings.json to enable MCP mode:
{
"iqpilot.enabled": true,
"iqpilot.mode": "mcp", // Full MCP mode with all features
"iqpilot.autoStart": true
}
Step 4: Reload VS Code
Ctrl+Shift+P β Developer: Reload Window
Step 5: Verify IQPilot Integration
Open GitHub Copilot Chat and ask:
@workspace Are IQPilot tools available?
Expected responses:
MCP Mode Active:
β
IQPilot MCP server is active with 16 specialized tools:
- Metadata tools (get, update, validate)
- Validation tools (grammar, readability, structure, all)
- Content tools (create, analyze_gaps, find_related, publish_ready)
- Workflow tools (article_creation, review, series_planning)
Prompts Only Mode:
β
IQPilot standalone prompts available from .github/prompts/:
- grammar-review, readability-review, structure-validation
- gap-analysis, correlated-topics, series-validation
- publish-ready, fact-checking, logic-analysis
Off Mode:
IQPilot is disabled. Using standard GitHub Copilot.
To enable: .vscode/settings.json β "iqpilot.enabled": true
If not working as expected, check the Troubleshooting section.
ποΈ Switching Modes
See .iqpilot/README.md for complete guide on:
- Mode comparison (MCP vs Prompts Only vs Off)
- How to switch modes (settings, commands, status bar)
- Performance considerations
- Troubleshooting mode issues
π Using IQPilot
Creating a New Article
Choose a template from
.github/templates/:article-template.md- General technical articlehowto-template.md- Step-by-step guidetutorial-template.md- Multi-step tutorialissue-template.md- Problem + solutionrecording-summary-template.md- Conference/video notes
Use GitHub Copilot to create from template:
In Copilot Chat: "Create a new technical article about Docker containers using the article template"Write your content (or use AI assistance)
Validate as you go using GitHub Copilot:
"Check structure of this article" "Run grammar validation" "Check readability" "Analyze for content gaps"Final check before publishing:
"Is this article ready to publish?"Publish: Commit and push to GitHub!
Renaming an Article
IQPilotβs FileWatcherService automatically syncs dual metadata when you rename files:
- Right-click file in Explorer β Rename (or press F2)
- Type new name
- Press Enter
β
IQPilot automatically updates bottom YAML metadata block
β
article_metadata.filename field synchronized
β
Last modified timestamp updated
β
All automatic - no manual action required
Validating Existing Articles
Use natural language with GitHub Copilot:
"Analyze this article for missing content"
"Find articles related to this topic"
"Validate the article structure"
"Check if this series is consistent"
Running Automation Scripts
PowerShell scripts in .copilot/scripts/:
# Build IQPilot MCP server
cd src/IQPilot
dotnet build --configuration Release
# Validate metadata schema for all articles (if script exists)
.\.copilot\scripts\validate-metadata.ps1
# Find articles with outdated validation checks (if script exists)
.\.copilot\scripts\check-stale-validations.ps1π Available IQPilot Capabilities
IQPilot provides 16 MCP tools accessible through natural language with GitHub Copilot:
Content Creation
- Create articles - Generate from templates with variable substitution
- Initialize metadata - Set up dual YAML structure automatically
Validation
- Grammar check - AI-powered grammar and spelling validation
- Readability analysis - Flesch score and grade level assessment
- Structure validation - TOC, sections, heading hierarchy
- Fact checking - Verify claims against sources
- Logic analysis - Coherent argumentation review
Content Analysis
- Gap analysis - Identify missing information
- Find related articles - Automatic cross-referencing
- Topic correlation - Discover connections
- Publish-ready check - Comprehensive pre-publish validation
Workflows
- Article creation workflow - Guided end-to-end process
- Review workflow - Systematic content maintenance
- Series planning - Multi-article coordination
Usage: Just ask in natural language - Copilot maps to appropriate tools automatically!
ποΈ Configuration
IQPilot Configuration
IQPilot behavior is controlled by .iqpilot/config.json:
{
"site": {
"name": "Learn Hub",
"type": "learning",
"author": "Dario Airoldi"
},
"validation": {
"readability": {
"targetGradeLevel": 9,
"fleschScoreMin": 60
}
}
}See 06.00-idea/iqpilot/02-iqpilot-getting-started.md for complete configuration reference.
VS Code Settings
Workspace settings are pre-configured in .vscode/settings.json:
- File associations for
.metadata.ymland.prompt.md - Markdown validation rules
- GitHub Copilot integration
- Search and watch exclusions
Recommended Extensions
When you open this workspace, VS Code will suggest installing:
- GitHub Copilot
- GitHub Copilot Chat
- C# Dev Kit
- YAML
- Markdown All in One
- Markdown Lint
Accept the recommendations or install manually.
ποΈ Folder Structure Overview
.github/
βββ copilot-instructions.md # Global GitHub Copilot guidelines
βββ instructions/ # Path-specific rules
βββ prompts/ # Legacy prompts (being migrated to IQPilot)
βββ templates/ # Content templates
.iqpilot/
βββ config.default.json # Framework defaults
βββ config.json # Site-specific overrides
βββ templates/ # Default templates (fallback)
βββ prompts/ # Generic prompts (framework)
βββ logs/ # Runtime logs (gitignored)
.copilot/
βββ context/ # Rich context for AI
β βββ 00.00-prompt-engineering/ # Prompt engineering principles
β βββ 01.00-article-writing/ # Style, validation, references
β βββ 90.00-learning-hub/ # Domain concepts
βββ scripts/ # PowerShell automation
βββ mcp-servers/ # MCP server executables
βββ iqpilot/ # IQPilot MCP server (gitignored)
src/IQPilot/ # MCP Server source code
βββ Program.cs
βββ Server/ # MCP protocol implementation
βββ Tools/ # MCP tool implementations
βββ Services/ # Core services
βββ Models/ # Data structures
.vscode/
βββ extensions/iqpilot/ # VS Code extension (planned)
βββ tasks.json # Build tasks
βββ launch.json # Debug configs
βββ settings.json # Workspace settings
tech/ # Your articles go here
howto/ # How-to guides
events/ # Conference notes
π Commands Reference
VS Code Tasks
Press Ctrl+Shift+P β βTasks: Run Taskβ:
- Build IQPilot - Compile MCP server
- Publish IQPilot - Build release version
- Build Extension - Compile VS Code extension (when available)
IQPilot via GitHub Copilot
In Copilot Chat, use natural language:
"Check this article's grammar"
"Analyze readability"
"Find content gaps"
"Is this ready to publish?"
"Find related articles"
Copilot automatically invokes appropriate IQPilot MCP tools.
π Troubleshooting
IQPilot Tools Not Available in Copilot
Symptom: Copilot doesnβt recognize IQPilot tools
Solution:
- Verify build succeeded: Check
src/IQPilot/bin/Release/net8.0/for executable - Verify copy to MCP servers: Check
.copilot/mcp-servers/iqpilot/exists - Check Copilot configuration: Review
.github/copilot-instructions.md - Reload VS Code:
Ctrl+Shift+Pβ βDeveloper: Reload Windowβ - Test in Copilot Chat:
@workspace Are IQPilot tools available?
Build Fails
βdotnet: command not foundβ
- Install .NET 8.0 SDK: https://dotnet.microsoft.com/download/dotnet/8.0
- Restart terminal after installation
βBuild failed with errorsβ
cd src/IQPilot
dotnet clean
dotnet restore
dotnet build --configuration ReleaseMetadata Not Syncing
Symptom: Renamed article but dual metadata unchanged
Check:
- Is article using dual metadata structure? (Top YAML + Bottom YAML in HTML comment)
- Is file a Markdown file? (Only
*.mdfiles monitored) - Check IQPilot logs:
.iqpilot/logs/iqpilot.log
Note: IQPilotβs FileWatcherService handles metadata sync automatically when running as MCP server.
π Additional Documentation
- IQPilot Overview: 06.00-idea/iqpilot/01-iqpilot-overview.md
- IQPilot Getting Started: 06.00-idea/iqpilot/02-iqpilot-getting-started.md
- Implementation Details: 06.00-idea/iqpilot/03-iqpilot-implementation-details.md
- Structure Overview: .github/STRUCTURE-README.md
- Technical Docs: src/IQPilot/README.md
π Learning Resources
Workflow Guides
- Use prompts in
.github/prompts/01.00-article-writing/for article creation - Use prompts in
.github/prompts/for content review - See
.github/instructions/for series planning guidance
Style & Standards
.copilot/context/01.00-article-writing/01-style-guide.md.copilot/context/01.00-article-writing/02-validation-criteria.md.github/copilot-instructions.md
π Youβre Ready!
Start creating content with confidence knowing that:
- β IQPilot MCP server integrates with GitHub Copilot
- β AI validation tools available through natural language
- β Dual metadata architecture with validation caching
- β Automatic file system synchronization
- β Quality standards enforced consistently
- β Comprehensive documentation available
First Task: Try creating a test article!
1. Ask Copilot: "Create a test article about Docker basics"
2. Write some content
3. Ask Copilot: "Check the structure of this article"
4. Ask Copilot: "Run grammar validation"
5. Rename the file (F2) and watch dual metadata sync automatically!
π‘ Tips for Success
- Validate incrementally - Check as you write sections, not at the end
- Use templates - Saves time and ensures consistency
- Let metadata auto-create - Validation prompts create it automatically
- Trust the watcher - Rename files normally; metadata stays in sync
- Check logs when needed - Status bar provides quick access
- Run publish-ready before commit - Final comprehensive check
Need help? Check the troubleshooting section or view logs via the status bar item.
Questions? All documentation is in this repository - search for your topic!
Ready to contribute? Start writing! The automation handles the rest. π