feat: Add multi-language support and front matter metadata (#57)#59
Open
tkhongsap wants to merge 1 commit intosnarktank:mainfrom
Open
feat: Add multi-language support and front matter metadata (#57)#59tkhongsap wants to merge 1 commit intosnarktank:mainfrom
tkhongsap wants to merge 1 commit intosnarktank:mainfrom
Conversation
) Refactored ai-dev-tasks to support multiple programming languages through modular architecture, addressing GitHub issue snarktank#57. ## Changes ### Core Architecture - Refactored generate-tasks.md as universal workflow with smart router - AI auto-detects programming language from user context - Modular lang/ directory for language-specific configurations - Zero duplication of core workflow logic (DRY principle maintained) ### Language Support - Created lang/typescript.md: TypeScript/JavaScript with Jest - Created lang/python.md: Python with pytest - Created lang/go.md: Go with built-in testing package - Created lang/README.md: Language index and contribution guide Each language config includes: - File extensions and naming conventions - Testing frameworks and commands - Directory structure patterns - Language-specific best practices - Example task list entries ### Front Matter Support - Created docs/front-matter-schema.md: Complete YAML metadata specification - Added front matter generation to generate-tasks.md - Added front matter generation to create-prd.md - Includes required fields: doc_type, id, slug, version, author, ai_model - Optional fields: title, description, language, tags, changelog, etc. ### Documentation - Updated README.md with multi-language support section - Added repository structure diagram - Updated benefits and usage instructions - Added language contribution guidelines ## Benefits - Single file reference for users (AI auto-detects language) - Easy to add new languages (create one small config file) - Clean git history (language changes isolated) - Sustainable maintenance (core workflow in one place) - Professional metadata tracking and versioning ## Usage Simple (AI auto-detects): @generate-tasks.md create tasks for my Python project from @prd-auth.md Explicit (guaranteed): @generate-tasks.md @lang/python.md create tasks from @prd-auth.md Closes snarktank#57 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
|
@copilot review |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refactored ai-dev-tasks to support multiple programming languages through modular architecture, addressing GitHub issue #57.
Changes
Core Architecture
Language Support
Each language config includes:
Front Matter Support
Documentation
Benefits
Usage
Simple (AI auto-detects):
@generate-tasks.md create tasks for my Python project from @prd-auth.md
Explicit (guaranteed):
@generate-tasks.md @lang/python.md create tasks from @prd-auth.md
Closes #57
🤖 Generated with Claude Code