بنقرة واحدة
typescript
TypeScript conventions, strictness rules, and interface/type definitions.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
TypeScript conventions, strictness rules, and interface/type definitions.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Guidelines for writing and structuring Astro components, pages, layouts, routing, and data fetching in this project.
Instructions on leveraging DaisyUI predefined components and handling theming.
Instructions on how to run and fix formatting/linting using prettier and eslint.
Rules for structuring content, using frontmatter, and handling rich text formatting.
Best practices and conventions for styling the project using Tailwind CSS v4.
| name | typescript |
| description | TypeScript conventions, strictness rules, and interface/type definitions. |
This project relies on TypeScript to ensure type safety across Astro and standard script files.
any. Use unknown or specify exact types.GetStaticPaths, AstroGlobal).interface over type for defining object shapes (like component Props or API responses) as they provide better error messages and are more easily extensible.const btn = document.querySelector<HTMLButtonElement>('#my-btn'); if (btn) { ... }).When handling complex type definitions or TypeScript utility types, utilize the official TypeScript documentation to fetch accurate guidelines:
https://www.typescriptlang.org/docs/If encountering an issue with specific compiler checks or required patterns, read the contents of this URL for the necessary context.