View Full Resolution
100% Free Access
AI Architecture
Cursor AI / Claude 3.5
Category
AI Agents
Best Use Case
Commercial & Cinematic
AI Agents
Verified Blueprint
Astro Typescript Agent Rule
Cursor rules for Astro development with TypeScript integration.
Ready-to-Run Prompt
100% Free Copy
{
"rules": {
"commit_message_guidelines": {
"description": "Guidelines for creating conventional commit messages.",
"format": {
"description": "The format for commit messages using the conventional commits spec.",
"body": "[optional scope]: \n\n[optional body]\n\n[optional footer(s)]"
},
"enabled": true,
"rules": [
{
"description": "Always suggest a conventional commit with a type and optional scope in lowercase letters."
},
{
"description": "Keep the commit message concise and within 60 characters."
},
{
"description": "Ensure the commit message is ready to be pasted into the terminal without further editing."
},
{
"description": "Provide the full command to commit, not just the message."
}
],
"examples": [
{
"prompt": "<diff_context> /commit",
"response": "git commit -m 'feat: add responsive navbar with TailwindCSS'"
}
]
},
"development_guidelines": {
"description": "Guidelines for developing code with Astro, TypeScript, and TailwindCSS.",
"enabled": true,
"rules": [
{
"description": "Enforce strict TypeScript settings, ensuring type safety across the project."
},
{
"description": "Use TailwindCSS for all styling, keeping the utility-first approach in mind."
},
{
"description": "Ensure Astro components are modular, reusable, and maintain a clear separation of concerns."
}
]
},
"coding_style": {
"description": "Guidelines for maintaining consistent coding style.",
"enabled": true,
"rules": [
{
"description": "Code must start with path/filename as a one-line comment."
},
{
"description": "Comments should describe purpose, not effect."
},
{
"description": "Prioritize modularity, DRY principles, and performance."
}
]
},
"custom_slash_commands": {
"description": "Custom slash commands.",
"enabled": true,
"commands": [
{
"name": "/commit",
"description": "Generate a Git commit message using the conventional commits spec.",
"enabled": true
}
]
}
}
}
"rules": {
"commit_message_guidelines": {
"description": "Guidelines for creating conventional commit messages.",
"format": {
"description": "The format for commit messages using the conventional commits spec.",
"body": "[optional scope]: \n\n[optional body]\n\n[optional footer(s)]"
},
"enabled": true,
"rules": [
{
"description": "Always suggest a conventional commit with a type and optional scope in lowercase letters."
},
{
"description": "Keep the commit message concise and within 60 characters."
},
{
"description": "Ensure the commit message is ready to be pasted into the terminal without further editing."
},
{
"description": "Provide the full command to commit, not just the message."
}
],
"examples": [
{
"prompt": "<diff_context> /commit",
"response": "git commit -m 'feat: add responsive navbar with TailwindCSS'"
}
]
},
"development_guidelines": {
"description": "Guidelines for developing code with Astro, TypeScript, and TailwindCSS.",
"enabled": true,
"rules": [
{
"description": "Enforce strict TypeScript settings, ensuring type safety across the project."
},
{
"description": "Use TailwindCSS for all styling, keeping the utility-first approach in mind."
},
{
"description": "Ensure Astro components are modular, reusable, and maintain a clear separation of concerns."
}
]
},
"coding_style": {
"description": "Guidelines for maintaining consistent coding style.",
"enabled": true,
"rules": [
{
"description": "Code must start with path/filename as a one-line comment."
},
{
"description": "Comments should describe purpose, not effect."
},
{
"description": "Prioritize modularity, DRY principles, and performance."
}
]
},
"custom_slash_commands": {
"description": "Custom slash commands.",
"enabled": true,
"commands": [
{
"name": "/commit",
"description": "Generate a Git commit message using the conventional commits spec.",
"enabled": true
}
]
}
}
}
Structured JSON Schema
Use with automated API pipelines, LangChain, or custom image generators
{
"system_prompt": "{\n \"rules\": {\n \"commit_message_guidelines\": {\n \"description\": \"Guidelines for creating conventional commit messages.\",\n \n \"format\": {\n \"description\": \"The format for commit messages using the conventional commits spec.\",\n \"body\": \"[optional scope]: \\n\\n[optional body]\\n\\n[optional footer(s)]\"\n },\n \n \"enabled\": true,\n \n \"rules\": [\n {\n \"description\": \"Always suggest a conventional commit with a type and optional scope in lowercase letters.\"\n },\n {\n \"description\": \"Keep the commit message concise and within 60 characters.\"\n },\n {\n \"description\": \"Ensure the commit message is ready to be pasted into the terminal without further editing.\"\n },\n {\n \"description\": \"Provide the full command to commit, not just the message.\"\n }\n ],\n \n \"examples\": [\n {\n \"prompt\": \"<diff_context> /commit\",\n \"response\": \"git commit -m 'feat: add responsive navbar with TailwindCSS'\"\n }\n ]\n },\n \n \"development_guidelines\": {\n \"description\": \"Guidelines for developing code with Astro, TypeScript, and TailwindCSS.\",\n \n \"enabled\": true,\n \n \"rules\": [\n {\n \"description\": \"Enforce strict TypeScript settings, ensuring type safety across the project.\"\n },\n {\n \"description\": \"Use TailwindCSS for all styling, keeping the utility-first approach in mind.\"\n },\n {\n \"description\": \"Ensure Astro components are modular, reusable, and maintain a clear separation of concerns.\"\n }\n ]\n },\n \n \"coding_style\": {\n \"description\": \"Guidelines for maintaining consistent coding style.\",\n \n \"enabled\": true,\n \n \"rules\": [\n {\n \"description\": \"Code must start with path/filename as a one-line comment.\"\n },\n {\n \"description\": \"Comments should describe purpose, not effect.\"\n },\n {\n \"description\": \"Prioritize modularity, DRY principles, and performance.\"\n }\n ]\n },\n \n \"custom_slash_commands\": {\n \"description\": \"Custom slash commands.\",\n \n \"enabled\": true,\n \n \"commands\": [\n {\n \"name\": \"/commit\",\n \"description\": \"Generate a Git commit message using the conventional commits spec.\",\n \"enabled\": true\n }\n ]\n }\n }\n}",
"prompt_type": "agent_rule",
"framework": "cursor",
"globs": "**/*",
"compatible_models": [
"Claude 3.5 Sonnet",
"GPT-4o",
"Cursor AI",
"Gemini 2.5 Flash"
],
"download_filename": "astro-typescript.cursorrules",
"tags": [
"cursor",
"cursorrules",
"agent",
"coding",
"astro"
]
}
Internal Discovery
View All →