Abstract
IdiomarkD (Idiomark for Developers) is a heightened extension of the core Idiomark specifically designed for the development community. It extends the base personality specification with development-specific traits, coding preferences, workflow patterns, and technical communication styles.
Key features:
- Development-specific personality traits (code review style, debugging approach, architecture preferences)
- IDE and tooling preferences
- Language and framework proficiency tracking
- Collaboration patterns and team dynamics
- Code quality standards and conventions
- Technical communication style analysis
Motivation
The Problem
The core Idiomark provides a robust foundation for capturing general personality traits, but developers have unique characteristics that aren't well-represented in the base specification:
- Coding style preferences - Tabs vs spaces, naming conventions, comment density
- Technical communication - How they explain complex concepts, documentation style
- Workflow patterns - TDD vs exploratory coding, refactoring frequency, commit granularity
- Tool preferences - IDE choice, extension ecosystem, keyboard shortcuts
- Collaboration dynamics - Code review thoroughness, pair programming style, mentorship approach
The Opportunity
By creating a development-focused extension, we enable:
- AI pair programmers that match your coding style
- Team compatibility analysis for hiring and team formation
- Personalized code review that respects individual preferences
- Context-aware IDE assistants that adapt to your workflow
- Developer onboarding that understands learning styles
Specification
Extended Schema
IdiomarkD extends the core Idiomark schema with a development namespace:
{
"idiomark": "1.0.0",
"personality": {
// Core Idiomark fields (voice, values, domains, etc.)
},
"extensions": {
"idiomarkd": {
"version": "1.0.0",
"development": {
"coding_style": {
/* ... */
},
"technical_communication": {
/* ... */
},
"workflow_patterns": {
/* ... */
},
"tool_preferences": {
/* ... */
},
"collaboration": {
/* ... */
},
"quality_standards": {
/* ... */
}
}
}
}
}
Coding Style
interface CodingStyle {
// Formatting preferences
indentation: {
type: "tabs" | "spaces";
size: number;
};
// Naming conventions
naming: {
variables: "camelCase" | "snake_case" | "PascalCase";
functions: "camelCase" | "snake_case" | "PascalCase";
classes: "PascalCase" | "snake_case";
constants: "SCREAMING_SNAKE_CASE" | "camelCase";
};
// Code organization
organization: {
max_line_length: number;
max_function_length: number;
max_file_length: number;
prefer_early_returns: boolean;
prefer_guard_clauses: boolean;
};
// Comment style
comments: {
density: "minimal" | "moderate" | "verbose";
style: "inline" | "block" | "docstring";
prefer_self_documenting_code: boolean;
};
// Error handling
error_handling: {
style: "exceptions" | "result_types" | "error_codes";
verbosity: "minimal" | "detailed";
};
}
Technical Communication
interface TechnicalCommunication {
// Documentation style
documentation: {
detail_level: "minimal" | "standard" | "comprehensive";
prefers_examples: boolean;
prefers_diagrams: boolean;
tone: "formal" | "conversational" | "tutorial";
};
// Code review style
code_review: {
thoroughness: number; // 0-1 scale
focus_areas: (
| "architecture"
| "performance"
| "readability"
| "security"
| "testing"
)[];
feedback_tone: "direct" | "suggestive" | "collaborative";
nitpick_tolerance: number; // 0-1 scale
};
// Commit messages
commit_style: {
format: "conventional" | "imperative" | "descriptive" | "freeform";
length: "short" | "medium" | "detailed";
includes_context: boolean;
includes_ticket_refs: boolean;
};
// Technical writing
writing: {
complexity_preference: "simple" | "balanced" | "technical";
jargon_usage: number; // 0-1 scale
prefers_analogies: boolean;
};
}
Workflow Patterns
interface WorkflowPatterns {
// Development approach
approach: {
style: "tdd" | "exploratory" | "hybrid";
refactoring_frequency: "continuous" | "periodic" | "rare";
planning_depth: "minimal" | "moderate" | "extensive";
};
// Testing philosophy
testing: {
coverage_target: number; // 0-100%
test_types: ("unit" | "integration" | "e2e" | "property")[];
tdd_adherence: number; // 0-1 scale
prefers_mocks: boolean;
};
// Debugging style
debugging: {
primary_method: "print_statements" | "debugger" | "logging" | "tests";
patience_level: number; // 0-1 scale
prefers_rubber_ducking: boolean;
};
// Commit patterns
commits: {
frequency: "atomic" | "feature" | "session";
granularity: "fine" | "medium" | "coarse";
wip_commits: boolean;
};
}
Tool Preferences
interface ToolPreferences {
// Primary IDE/editor
ide: {
primary: string; // "VSCode", "Vim", "IntelliJ", etc.
theme: "light" | "dark" | "auto";
font_size: number;
font_family: string;
};
// Extensions/plugins
extensions: {
name: string;
category: "productivity" | "linting" | "formatting" | "debugging" | "other";
importance: "essential" | "preferred" | "nice-to-have";
}[];
// Terminal preferences
terminal: {
shell: string; // "bash", "zsh", "fish", "pwsh"
multiplexer: string | null; // "tmux", "screen", null
prompt_style: "minimal" | "informative" | "powerline";
};
// Version control
vcs: {
primary: "git" | "mercurial" | "svn";
gui_vs_cli: "gui" | "cli" | "both";
branching_strategy: "gitflow" | "trunk" | "feature" | "custom";
};
}
Collaboration
interface Collaboration {
// Pair programming
pair_programming: {
preference: number; // 0-1 scale (0=solo, 1=always pair)
style: "driver-navigator" | "ping-pong" | "mob";
session_length: number; // minutes
};
// Code review
review: {
response_time: "immediate" | "same_day" | "within_week";
review_depth: "quick_scan" | "thorough" | "exhaustive";
prefers_sync_discussion: boolean;
};
// Mentorship
mentorship: {
teaching_style: "hands-on" | "guided" | "autonomous";
patience_level: number; // 0-1 scale
prefers_documentation: boolean;
};
// Communication
communication: {
sync_vs_async: number; // 0=async, 1=sync
meeting_tolerance: number; // 0-1 scale
prefers_written_specs: boolean;
};
}
Quality Standards
interface QualityStandards {
// Code quality
code_quality: {
complexity_tolerance: number; // Max cyclomatic complexity
duplication_tolerance: number; // 0-1 scale
prefers_dry: boolean;
prefers_yagni: boolean;
};
// Architecture preferences
architecture: {
style: ("mvc" | "clean" | "hexagonal" | "microservices" | "monolith")[];
abstraction_level: "concrete" | "balanced" | "abstract";
prefers_composition: boolean;
};
// Performance
performance: {
priority: "low" | "medium" | "high" | "critical";
profiling_frequency: "never" | "when_needed" | "always";
optimization_timing: "premature" | "measured" | "deferred";
};
// Security
security: {
awareness_level: "basic" | "intermediate" | "advanced" | "expert";
threat_modeling: boolean;
security_review_frequency: "never" | "major_features" | "always";
};
}
Extraction Methods
IdiomarkD profiles can be generated from:
-
Git history analysis
- Commit message patterns
- Code diff analysis
- Commit frequency and timing
- Branch management patterns
-
Code style analysis
- Indentation patterns
- Naming conventions
- Comment density
- File organization
-
Code review data
- Review comment tone and depth
- Response times
- Focus areas (security, performance, etc.)
-
IDE telemetry (opt-in)
- Extension usage
- Keyboard shortcuts
- Refactoring patterns
- Debugging frequency
-
Self-reporting
- Questionnaires
- Preference surveys
- Manual profile editing
Rationale
Why a Separate Extension?
We considered adding development traits to the core Idiomark spec but decided against it because:
- Separation of concerns - Not all Idiomark users are developers
- Extensibility - Other domains (healthcare, education) need similar extensions
- Versioning independence - IdiomarkD can evolve without changing core Idiomark
- Optional adoption - Tools can support core Idiomark without IdiomarkD
Why These Specific Fields?
The IdiomarkD schema was designed based on:
- Developer surveys - What traits matter for team compatibility?
- AI pair programmer needs - What context helps AI assistants?
- Hiring insights - What predicts successful collaboration?
- Tool integration - What preferences can IDEs/tools respect?
Design Principles
- Extractable - All fields should be derivable from observable data
- Actionable - Tools should be able to use this data meaningfully
- Privacy-respecting - No sensitive data (credentials, private repos, etc.)
- Backwards-compatible - Works with core Idiomark v1.0+
Backwards Compatibility
IdiomarkD is fully backwards-compatible with Idiomark v1.0:
- ✅ Core Idiomark parsers can ignore the
extensions.idiomarkdfield - ✅ IdiomarkD profiles are valid Idiomark v1.0 files
- ✅ Tools that don't support IdiomarkD still get core personality data
- ✅ No breaking changes to the base schema
Migration path:
- Existing Idiomark files can add
extensions.idiomarkdwithout modification - Tools can progressively adopt IdiomarkD features
- No version bump required for core Idiomark
Reference Implementation
Repository: idiomark/idiomarkd
npm Package: @idiomark/idiomarkd
Status: Active Development
Key Components:
- IdiomarkD Analyzer - Extracts development traits from git history
- IdiomarkD Validator - Validates IdiomarkD schema compliance
- IdiomarkD Exporter - Generates IDE-specific configs from IdiomarkD profiles
- IdiomarkD CLI - Command-line tool for profile generation
Example Usage:
# Generate IdiomarkD profile from git history
idiomark analyze --extension idiomarkd --output profile.json
# Export IDE settings
idiomark export --format vscode --input profile.json --output .vscode/settings.json
# Validate IdiomarkD profile
idiomark validate --schema idiomarkd profile.json
Security Considerations
Privacy Concerns
IdiomarkD profiles may reveal sensitive information:
- Coding patterns could fingerprint individuals
- Tool preferences could expose security practices
- Commit patterns could reveal work hours/habits
Mitigation:
- Clear disclosure of what data is collected
- Opt-in for IDE telemetry
- Anonymization options for public profiles
- User control over field visibility
Data Integrity
Malicious actors could:
- Inject false data into git history
- Manipulate profiles to game hiring algorithms
- Create fake profiles for social engineering
Mitigation:
- Cryptographic signing of profiles (see Idiomark Identity spec)
- Verification of data sources
- Reputation systems for profile authenticity
Tool Abuse
AI tools using IdiomarkD could:
- Over-optimize for individual preferences (filter bubbles)
- Reinforce bad practices (if profile reflects them)
- Create dependency on specific tools/workflows
Mitigation:
- Encourage periodic profile review and updates
- Provide "best practices" overlays
- Allow manual overrides in AI tools
Test Cases
Valid IdiomarkD Profile
{
"idiomark": "1.0.0",
"personality": {
"voice": {
/* core Idiomark fields */
}
},
"extensions": {
"idiomarkd": {
"version": "1.0.0",
"development": {
"coding_style": {
"indentation": { "type": "spaces", "size": 2 },
"naming": {
"variables": "camelCase",
"functions": "camelCase",
"classes": "PascalCase",
"constants": "SCREAMING_SNAKE_CASE"
}
},
"technical_communication": {
"code_review": {
"thoroughness": 0.8,
"focus_areas": ["architecture", "security", "testing"],
"feedback_tone": "collaborative"
}
}
}
}
}
}
Invalid IdiomarkD Profile
{
"idiomark": "1.0.0",
"extensions": {
"idiomarkd": {
"version": "1.0.0",
"development": {
"coding_style": {
"indentation": { "type": "invalid" } // ❌ Invalid type
}
}
}
}
}
Open Issues
- Finalize git history analysis algorithms
- Define IDE telemetry opt-in mechanism
- Create IdiomarkD profile visualization tools
- Establish privacy best practices for public profiles
- Design team compatibility scoring algorithm
Changelog
- 2026-02-14: Initial PEP-1 specification
- 2026-02-14: Active development status
Copyright
This PEP is licensed under MIT License.
Authors: Idiomark Core Team
Status: Active
Type: Standards Track