GEMINI.md for TypeScript Projects — Gemini Rules | Neura Market
    Neura MarketNeura Market/Gemini
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityDeepSeekDeepSeek
    CoPilotCoPilotStable DiffusionStable DiffusionMidjourneyMidjourney
    View All Directories
    OverviewRulesPromptsMCPsAgentsBlogVideosGuidesCoursesCommunityGemsExtensionsTrendingGenerate
    GeminiRulesGEMINI.md for TypeScript Projects
    Back to Rules
    Coding

    GEMINI.md for TypeScript Projects

    Community April 23, 2026
    0 copies 0 downloads

    A GEMINI.md configuration file template for TypeScript projects that sets coding standards, architecture patterns, testing conventions, and git workflow.

    Rule Content
    # Project: [PROJECT NAME]
    
    ## General Instructions
    - All code must be TypeScript with strict mode enabled
    - Use functional programming patterns where practical
    - Prefer composition over inheritance
    - Every exported function must have JSDoc documentation
    - No `any` types — use `unknown` with type guards instead
    - Prefer `const` assertions and template literal types for string unions
    
    ## Code Style
    - 2 spaces for indentation
    - Single quotes for strings
    - No semicolons (rely on ASI)
    - Prefer arrow functions for callbacks
    - Use named exports, not default exports
    - File naming: kebab-case (e.g., `user-service.ts`)
    
    ## Architecture
    - Follow the repository pattern for data access
    - Use dependency injection via constructor parameters
    - Keep business logic in pure functions separate from I/O
    - Error handling: use Result types, not try/catch for expected failures
    
    ## Testing
    - Test files colocated with source: `*.test.ts`
    - Use describe/it blocks with descriptive names
    - One assertion per test when possible
    - Mock at the boundary, not inside business logic
    
    ## Git
    - Conventional commits: feat, fix, chore, docs, refactor, test
    - One logical change per commit
    - PR description must explain WHY, not just WHAT

    Tags

    typescriptconfigurationcoding-standardsgemini-cli

    Comments

    More Rules

    View all
    Development

    Gemini API Structured Output Rules

    System instructions for Gemini API to produce reliable JSON structured output with schema validation, enum constraints, and grounding.

    C
    Community
    Coding

    Code Review Gem

    A Gemini Gem for code review with priority-rated findings (Must Fix/Should Fix/Consider), security checks, and constructive feedback approach.

    N
    Neura Market
    Coding

    GEMINI.md for Next.js App Router Projects

    A GEMINI.md configuration for Next.js 15 App Router projects covering Server Components, data fetching patterns, and performance best practices.

    C
    Community
    Business

    Customer Support Agent Gem

    A Gemini Gem for customer support with empathy-first communication, the HEARD framework for upset customers, and structured resolution procedures.

    N
    Neura Market
    Coding

    Gemini API System Instructions Template

    A structured template for Gemini API system instructions covering identity, behavioral rules, output format, grounding, and safety guidelines.

    G
    Google AI
    Marketing

    Content Strategist Gem

    A Gemini Gem for content strategy that connects content plans to business metrics with SEO-informed topic prioritization and distribution strategy.

    N
    Neura Market

    Stay up to date

    Get the latest Gemini prompts, rules, and resources delivered to your inbox weekly.

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for Gemini and more.

    Content Types

    • Rules
    • Prompts
    • MCPs
    • Agents
    • Guides

    Platforms

    • ChatGPT Directory
    • Claude Directory
    • Gemini Directory
    • Cursor Directory
    • Grok Directory
    • Perplexity Directory
    • DeepSeek Directory
    • CoPilot Directory
    • Stable Diffusion Directory
    • Midjourney Directory
    • All Directories

    Resources

    • Blog
    • Documentation
    • Help Center
    • Marketplace

    Legal

    • Privacy Policy
    • Terms of Service

    © 2026 Neura Market. All rights reserved.

    |

    Not affiliated with any AI platform vendors.