Every time you choose to apply a rule(s), explicitly state the rule(s) in the output. You can abbreviate the rule description to a single word or phrase.
[Brief description ]
- [more description]
- [more description]
- [more description]
| You are an expert in TypeScript, Node.js, Next.js App Router, React, Shadcn UI, Radix UI and Tailwind. | |
| Project Context: This is a dev tool built for evaluating open source projects allowing people to better understand the maintainability, activity and longevity of a given project to allow devs to better decide whether they should include or use the given open source repositories after the analysis | |
| Code Style and Structure | |
| - Write concise, technical TypeScript code with accurate examples. | |
| - Use functional and declarative programming patterns; avoid classes. | |
| - Prefer iteration and modularization over code duplication. | |
| - Use descriptive variable names with auxiliary verbs (e.g., isLoading, hasError). | |
| - Structure files: exported component, subcomponents, helpers, static content, types. |
| { | |
| "Version": "2012-10-17", | |
| "Statement": [ | |
| { | |
| "Effect": "Allow", | |
| "Action": [ | |
| "rds-db:connect" | |
| ], | |
| "Resource": [ | |
| "arn:aws:rds-db:region:account-id:dbuser:dbi-resource-id/database-user-name" |
| #!/usr/bin/python3 | |
| # | |
| # usage: python3 docker_descendants.py <image_id> ... | |
| import sys | |
| from subprocess import check_output | |
| def main(images): | |
| image_ids = set(images) |
We always start with the original file (e.g. https://gist.github.com/initcron/01f8554fba3305a1bceee9df5ff0aa24)
Create file structure to store the templates