RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/Cursor rules/poglesbyg/htsf-consultant

Cursor rule

.cursor/rules/trpc-architecture.mdc

Documents type-safe API architecture and procedure definitions using tRPC for lab management system

Cursor rules

Quality

56/100

Scores the file, not the repository.

Length

176 words

7 headings · 0 code blocks

Repository

0

— · pushed 396 days ago

Last changed

3 days ago

First indexed 3 days ago.
poglesbyg/htsf-consultant/.cursor/rules/trpc-architecture.mdcRawGitHub
1---
2description: Documents type-safe API architecture and procedure definitions using tRPC for lab management system
3globs: packages/api/**/*.ts,apps/web/src/client/trpc.ts,apps/web/src/components/providers/trpc-provider.tsx
4alwaysApply: false
5---
6 
7 
8# trpc-architecture
9 
10## Core Router Structure
11The tRPC architecture implements domain-specific routers for laboratory management:
12 
13### Consultation Router
14- **File Path:** `packages/api/src/routers/consultations.ts`
15- **Importance Score:** 85
16- Handles sequencing consultation workflows including:
17 - Multi-step consultation wizards
18 - AI-driven recommendations
19 - Sample analysis queuing
20 
21### User Management Router
22- **File Path:** `packages/api/src/routers/user.ts`
23- **Importance Score:** 75
24- Manages laboratory user permissions and roles
25- Tracks user experiment history and analysis quotas
26 
27## Client Integration
28- **File Path:** `apps/web/src/client/trpc.ts`
29- **Importance Score:** 80
30- Implements laboratory-specific type inference
31- Handles experiment state synchronization
32- Manages real-time analysis updates
33 
34## Domain-Specific Middleware
35- **File Path:** `packages/api/src/context.ts`
36- **Importance Score:** 90
37- Validates laboratory credentials
38- Enforces sample analysis quotas
39- Tracks experiment audit trails
40 
41## Type-Safe Procedures
42- **File Path:** `packages/api/src/actions/**/*`
43- **Importance Score:** 95
44- Implements procedures for:
45 - CRISPR guide RNA design
46 - Sequence analysis workflows
47 - Batch experiment processing
48 - Result validation and verification
49 
50$END$
51 
52 If you're using this file in context, clearly say in italics in one small line that "Context added by Giga trpc-architecture".

Sections

  • trpc-architecture
  • Core Router Structure
  • Consultation Router
  • User Management Router
  • Client Integration
  • Domain-Specific Middleware
  • Type-Safe Procedures

What it covers

architecturetypes

Stack — with the evidence

typescript

(1.00)

tailwind

(1.00)

turborepo

(1.00)

eslint

(1.00)

node

(0.70)

react

(0.70)

astro

(0.70)

postgres

(0.70)

vitest

(0.70)

javascript

(0.60)

monorepo

(0.60)

pnpm

(0.60)

docker

(0.60)

github-actions

(0.60)

Glob targeting

  • packages/api/**/*.ts
  • apps/web/src/client/trpc.ts
  • apps/web/src/components/providers/trpc-provider.tsx

Format

Cursor rules

The most expressive format here. Many small .mdc files, each with frontmatter declaring when it should load, so a rule about migrations only enters context when a migration is open. Costs the most to maintain and only one editor reads it.

What the corpus says about it

Repository

Owner
poglesbyg
Language
—
License
—
Archived
no

All configs in this repo

Also in poglesbyg/htsf-consultant

Diff this repo’s formats

One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?

The other instruction files in this repository
RepositoryFormatStackCoversScoreChanged
poglesbyg/htsf-consultant.cursor/rules/always.mdc · 0Cursor rulestypescripttailwind+12test35/1003 days ago
poglesbyg/htsf-consultant.cursor/rules/code-conventions.mdc · 0Cursor rulestypescripttailwind+12setuplint-formatstyledo-not+180/1003 days ago
poglesbyg/htsf-consultant.cursor/rules/crispr-algorithms.mdc · 0Cursor rulestypescripttailwind+12deployment44/1003 days ago
poglesbyg/htsf-consultant.cursor/rules/data-models.mdc · 0Cursor rulestypescripttailwind+12typessecuritydatabase44/1003 days ago
poglesbyg/htsf-consultant.cursor/rules/database.mdc · 0Cursor rulestypescripttailwind+12typesdatabasedo-not61/1003 days ago
poglesbyg/htsf-consultant.cursor/rules/env-vars.mdc · 0Cursor rulestypescripttailwind+12securitydo-not63/1003 days ago
poglesbyg/htsf-consultant.cursor/rules/react.mdc · 0Cursor rulestypescripttailwind+12style34/1003 days ago
poglesbyg/htsf-consultant.cursor/rules/shadcn-components.mdc · 0Cursor rulestypescripttailwind+12ui63/1003 days ago
poglesbyg/htsf-consultant.cursor/rules/smart-polling.mdc · 0Cursor rulestypescripttailwind+12no sections44/1003 days ago
poglesbyg/htsf-consultant.cursor/rules/trpc.mdc · 0Cursor rulestypescripttailwind+12no sections40/1003 days ago
poglesbyg/htsf-consultant.cursor/rules/typescript.mdc · 0Cursor rulestypescripttailwind+12styletypesdo-not55/1003 days ago
poglesbyg/htsf-consultant.cursorrules · 0.cursorrulestypescripttailwind+12archdeploymentagent-behaviour48/1003 days ago
Diff against .cursor/rules/always.mdc Diff against .cursor/rules/code-conventions.mdc Diff against .cursor/rules/crispr-algorithms.mdc Diff against .cursor/rules/data-models.mdc Diff against .cursor/rules/database.mdc Diff against .cursor/rules/env-vars.mdc Diff against .cursor/rules/react.mdc Diff against .cursor/rules/shadcn-components.mdc Diff against .cursor/rules/smart-polling.mdc Diff against .cursor/rules/trpc.mdc Diff against .cursor/rules/typescript.mdc Diff against .cursorrules

Similar configs

Same format, overlapping stack, ranked by quality.

Same format, overlapping stack, ranked by quality
RepositoryFormatStackCoversScoreChanged
hiromaily/go-crypto-wallet.cursor/rules/typescript.mdc · 126Cursor rulesgobun+5setupbuildtestlint-format+6100/1003 days ago
TechSquidTV/Hermes.cursor/rules/10-hermes-api.mdc · 45Cursor rulestypescriptpytest+15testlint-formatstylearch+5100/1003 days ago
markstev/mark-starter.cursor/rules/frontend.mdc · 0Cursor rulestypescriptturborepo+14setuptestlint-formatstyle+699/1003 days ago
Allymahmoud/case-intake-platform.cursor/rules/frontend.mdc · 0Cursor rulestypescriptturborepo+13setuptestlint-formatstyle+799/1003 days ago
dodgecfr/combatfilms-webapp.cursor/rules/frontend.mdc · 0Cursor rulestypescriptturborepo+15setuptestlint-formatstyle+799/1003 days ago
deifos/clipmira-subtitles.cursor/rules/frontend.mdc · 1Cursor rulestypescriptnextjs+5setuptestlint-formatstyle+799/1003 days ago
langflow-ai/langflow.cursor/rules/docs_development.mdc · 153kCursor rulespythonnode+16setupbuildtestlint-format+797/1003 days ago
TechSquidTV/Hermes.cursor/rules/20-hermes-api-tests.mdc · 45Cursor rulestypescriptpytest+15teststyletesting-strategysecurity+397/1003 days ago
RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack