puttokei-project
Development and setup tool for the Puttokei project.
Install
mkdir -p .claude/skills/puttokei-project && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/12672" && unzip -o skill.zip -d .claude/skills/puttokei-project && rm skill.zipInstalls to .claude/skills/puttokei-project
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Puttokei リポジトリで作業するときの前提をまとめた skill。docs/requirements/requirements.md を基準に、backend の FastAPI/Python、mobile の Expo/TypeScript、infra の Terraform、空ディレクトリの初期実装や構成整理を行うときに使う。Key capabilities
- →Confirm current directory status
- →Align with existing coding styles
- →Create foundational code based on design documents
- →Manage discrepancies between implementation and design
- →Define API, DB, authentication, and LLM judgment flows
- →Organize directory structures
How it works
The skill guides development within the Puttokei repository by prioritizing existing code styles for implemented areas and adhering to `docs/requirements/requirements.md` for new or unimplemented sections.
Inputs & outputs
When to use puttokei-project
- →Setting up a new backend feature
- →Implementing mobile UI components
- →Defining infrastructure as code
About this skill
Puttokei Project
概要
このリポジトリは backend と mobile の土台実装が進んでいる一方、infra は未作成。既存実装がある領域ではローカルの構成とテストを優先して確認し、未実装領域を作るときは docs/requirements/requirements.md を正として扱う。
使う場面
backend/mobile/infra/を触る- API、DB、認証、LLM 判定フローを決める
- ディレクトリ構成や土台コードを新しく作る
- 設計書どおりに実装を揃える
作業ルール
- まず変更対象ディレクトリの現状を確認する
- 既存コードがある場合は、その周辺の流儀を崩さずに合わせる
- 未作成ディレクトリやプレースホルダーしかない領域は、設計書に沿って素直に土台を作る
- 実装と設計書が食い違う場合は、変更箇所の一貫性を優先しつつ、最終報告で差分を明示する
- 詳細が必要なときだけ
references/と.codex/rules/を読む
使用アーキテクチャ
backend
- FastAPI / Python 3.12 / SQLAlchemy / Alembic / Pydantic / Firebase Admin SDK
- 4 層のクリーンアーキテクチャを採用する
- 依存方向は
domain <- application <- infrastructure / presentation src.mainとsrc.containerを Composition Root とし、依存の組み立てはここに集約する- リポジトリ IF と外部サービス IF は
domain、ユースケースと DTO はapplication - Unit of Work IF は
application、SQLAlchemy による実装はinfrastructure/persistence - DB、認証、キュー、LLM、通知など外部依存の実装は
infrastructure - HTTP 入出力、Pydantic schema、middleware、worker entrypoint は
presentation
mobile
- Expo + React Native + TypeScript
- Expo Router によるファイルベースルーティングを採用する
app/は経路定義と layout だけに寄せ、画面実装を直接持たせない- 画面実装や機能ロジックは
src/features/*の feature-based structure に分ける - 共通 UI、API client、Firebase、stores、types は
src/shared - ローカル状態は Zustand、サーバー状態は TanStack Query、フォームは React Hook Form + Zod、UI は Tamagui
infra
- 現時点では
infra/ディレクトリは存在しない - Terraform + Google Cloud
- 再利用単位は
infra/modules - 環境差分は
infra/environments/{staging,production}
プロダクト上の制約
- 認証は Firebase Authentication を前提にする
- 学習フローは
input -> output -> break -> result - アウトプットの判定は Cloud Tasks 経由の非同期処理にする
- LLM の応答は JSON として検証・保存できる形を崩さない
参照先
- 構成と責務分離の概要は
references/architecture.md - 全体構成と infra の規則は
.codex/rules/project-architecture-rule.md - backend の詳細なディレクトリ構成とアーキテクチャ規則は
.codex/rules/backend-architecture-rule.md - mobile の詳細なディレクトリ構成とアーキテクチャ規則は
.codex/rules/mobile-architecture-rule.md - API / DB / 認証 / LLM / CI の期待値は
references/contracts.md - 正確な文言や完全な仕様が必要なときだけ
docs/requirements/requirements.mdを開く
When not to use it
- →When working outside the Puttokei repository
- →When not touching backend, mobile, or infra directories
Limitations
- →Assumes Firebase Authentication for authentication
- →Assumes `input -> output -> break -> result` for learning flow
- →Assumes Cloud Tasks for asynchronous output judgment
How it compares
This skill provides specific architectural guidance and rules for the Puttokei repository, ensuring consistency across backend, mobile, and infrastructure development, unlike a generic development approach.
Compared to similar skills
puttokei-project side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| puttokei-project (this skill) | 0 | 3mo | No flags | Intermediate |
| telegram-dev | 2 | 8mo | Review | Intermediate |
| add-new-setting-field | 1 | 7mo | No flags | Intermediate |
| forms-and-validation | 0 | 4mo | No flags | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
telegram-dev
2025Emma
Telegram 生态开发全栈指南 - 涵盖 Bot API、Mini Apps (Web Apps)、MTProto 客户端开发。包括消息处理、支付、内联模式、Webhook、认证、存储、传感器 API 等完整开发资源。
add-new-setting-field
tsukumijima
【設定追加時は必ず参照】KonomiTV に新しい設定 (v-switch/v-select など) を追加する際の必須手順。SettingsStore.ts / Settings.ts / config.py / Settings/*.vue への追加が必要
forms-and-validation
cantis
Use this skill when building or refining forms and validation flows for Flask or FastAPI applications using Bootstrap 5 and server-rendered templates. Covers labels, layout, sticky values, field errors, validation summaries, confirmation flows, and accessible business-style forms.
scaffold-feature
niklasbrandt
Scaffold a complete full-stack feature: FastAPI endpoint, dashboard Web Component, i18n keys, test stubs, and documentation checks.
mcp-developer
Jeffallan
Use when building MCP servers or clients that connect AI systems with external tools and data sources. Invoke for MCP protocol compliance, TypeScript/Python SDKs, resource providers, tool functions.
code-review
hhagely
Perform a full code review of the currently checked out branch against main. Analyzes best practices, unit tests, DRY code, architecture, error handling, correctness & caller-impact, documentation, DB migration safety, and SvelteKit conventions across the diff for this Python (FastAPI/SQLModel) + Sv