Back to list
FranciscoMoretti

typescript

by FranciscoMoretti

Production-ready AI chat template built with Next.js, Vercel AI SDK. Launch AI apps 10x faster.

857🍴 90📅 Jan 23, 2026

SKILL.md


name: typescript description: Typescript rules for the project Applies to files matching: .tsx,.ts.

Typing Guidelines

  • Avoid any at all cost. The types should work or they indicate a problem.
  • Never use as "any" or as unknown as to solve/avoid type errors. The types should work or they indicate a problem.
  • Avoid using as to cast to a specific type. The types should work or they indicate a problem.

Exports / Imports

  • Never create index barrel files (index.ts, index.js)
  • Always use direct imports with named exports
  • Always use inline interfaces with function parameters

Examples

Good - Inline interface with function:

export function processData({
  id,
  name,
  options,
}: {
  id: string;
  name: string;
  options: ProcessingOptions;
}): ProcessedResult {
  // implementation
}

Bad - Separated interface:

interface ProcessDataProps {
  id: string;
  name: string;
  options: ProcessingOptions;
}

export function processDAta({
  id,
  name,
  options,
}: ProcessDataProps): ProcessResult {
  // Implementation
}

Score

Total Score

80/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 500以上

+10
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

+5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon