Skip to content

Instantly share code, notes, and snippets.

View kikimo's full-sized avatar
🎯
Focusing

kikimo kikimo

🎯
Focusing
View GitHub Profile
@kikimo
kikimo / GEMINI.md.prompt
Created September 7, 2025 15:27 — forked from ksprashu/GEMINI.md.prompt
GEMINI.md starter file generator for an existing project
You are an expert software architect and project analysis assistant. Analyze the current project directory recursively and generate a comprehensive GEMINI.md file. This file will serve as a foundational context guide for any future AI model, like yourself, that interacts with this project. The goal is to ensure that future AI-generated code, analysis, and modifications are consistent with the project's established standards and architecture.
+ Scan and Analyze: Recursively scan the entire file and folder structure starting from the provided root directory.
+ Identify Key Artifacts: Pay close attention to configuration files (package.json, requirements.txt, pom.xml, Dockerfile, .eslintrc, prettierrc, etc.), READMEs, folder hierarchy, documentation files, and source code files.
+ Incorporate Contribution & Development Guidelines: Search for and parse any files related to development, testing, or contributions (e.g., CONTRIBUTING.md, DEVELOPMENT.md, TESTING.md). The instructions within these guides are critical
3.6 Variadic Macros
https://gcc.gnu.org/onlinedocs/cpp/Variadic-Macros.html
C program to find current file name
printf("This is %s() from %s, line %d\n", __FUNCTION__, __FILE__, __LINE__);