accounts
無料Manage multiple Claude Code accounts: add, list, check, launch, and install shell aliases for 10+ isolated CLAUDE_CONFIG_DIR profiles.
日本語の概要は準備中です。原文の説明を表示しています。
Language-specific patterns and tooling: Go, Kotlin, PHP, Swift, TypeScript.
インストール方法を見るインストールする前に、エージェントに与えられる指示の中身を確認できます。
Language-specific patterns and tooling for Go, Kotlin, PHP, Swift, and TypeScript. Identify the language, load matching deep references, follow the language section.
| Language | Agent | Section |
|---|---|---|
| Go | golang-general-engineer | Go |
| Kotlin | kotlin-general-engineer | Kotlin |
| PHP | php-general-engineer | PHP |
| Swift | swift-general-engineer | Swift |
| TypeScript | typescript-frontend-engineer | TypeScript |
If the request spans multiple languages, apply each relevant section.
Prefer local consistency only where the Google guide allows judgment. Do not restyle existing code without cause.
For testing: table-driven tests with subtests, test helpers, mock injection. Run go test ./.... Load references/go/testing.md.
For concurrency: goroutine lifecycle, sync primitives, context propagation, race detection. Run go test -race. Load references/go/concurrency.md.
For error handling: wrapping with %w, sentinel errors, errors.Is/errors.As, custom error types. Load references/go/error-handling.md.
For code review: review checklist, common comments, interface compliance. Load references/go/code-review.md.
For SAPCC repos: org conventions -- go-bits patterns, auth ordering, JSON strictness, endpoint identification. Load references/go/sapcc-conventions.md.
For quality gate: run make check or equivalent. Load references/go/quality-gate.md.
Beyond linting -- patterns from real code reviews that automated tools miss:
commit() should remove only the specific batch returned, not all items.defer f.Close() after the error check, not before.i := i reassignment and closure parameter passing -- each iteration has its own variable since 1.22..Add(0) for all known label combinations.testWithEachBackingStore() pattern to share test bodies across interface implementations.| Task | Script |
|---|---|
| Generate table test | scripts/gen-table-test.sh |
| Benchmark compare | scripts/bench-compare.sh |
| Check errors | scripts/check-errors.sh |
| Interface compliance | scripts/check-interface-compliance.sh |
| SAPCC checks | scripts/check-sapcc-*.sh |
| Quality checker | scripts/quality_checker.py, scripts/validate.py |
| Google style sync | scripts/sync-google-style-guide.py |
CoroutineDispatcher as a parameter so callers and tests control threading.Exception.| Type | Temperature | Replay | Use Case |
|---|---|---|---|
Flow | Cold | None | Async sequences, API pagination, transform chains |
StateFlow | Hot | Latest (1) | UI state with current value; conflates duplicates |
SharedFlow | Hot | Configurable | One-shot events: navigation, toasts, errors |
Channel | Hot | None | Producer-consumer, fan-in/fan-out inter-coroutine communication |
Flow: cold -- each collector gets its own execution. Chain with filter, map, flatMapConcat. Terminate with collect.
StateFlow: requires initial value, always replays latest to new collectors. Use for UI state.
SharedFlow: configurable replay, emits all values (no conflation). Use for event streams.
Channel: hot communication primitive. Use produce builder for producer-consumer. Fan-out: multiple coroutines consuming one channel. Fan-in: multiple producers writing to one channel.
declare(strict_types=1).Laravel: Eloquent scopes for reusable query constraints (scopeActive). Collection methods over raw loops (collect()->filter()->map()->sort()). Service Container for interface-to-implementation binding. Contextual binding with when()->needs()->give().
Symfony: DI with #[Autowire] attributes for constructor injection. #[AsEventListener] for event dispatch. Rely on autowiring over XML config.
TestCase with test prefix, @dataProvider for table-driven, createStub() for returns, createMock() for interactions, parent::setUp() first in every setUp../vendor/bin/phpunit. For coverage: XDEBUG_MODE=coverage ./vendor/bin/phpunit --coverage-text --coverage-min=80.Concurrency:
TaskGroup over loose Task { }.Sendable. Enable -strict-concurrency=complete.@MainActor for UI layer only. Use nonisolated for methods that only read let properties.Task needs a cancellation path.Testing:
testFetchUser_withExpiredToken_throwsAuthError.@Test, #expect) for Swift 5.9+. Fall back to XCTest for older targets or UI tests.arguments:. Protocol-based mock injection.swift test --enable-code-coverage and swift build. Confirm strict concurrency checking passes.Read-only type validation. Do not fix code, change configuration, or install dependencies for a check-only request.
tsconfig.json (check src/, app/, packages/). In a monorepo, use the affected package or the repo's aggregate check. If no config exists, report and stop.npx tsc --noEmit 2>&1 (or --project path/to/tsconfig.json). Capture exit code. Zero = pass; nonzero = type errors or tool failure (report which).file:line:column, TS####, and the message.npm install typescript --save-dev.npm exec tsc -- --noEmit.--skipLibCheck: use only when configured or requested.--strict: enable only when configured or requested.--incremental: avoid for read-only checks (writes build-info cache).For the full JS/TS check sequence: lint first, type-check next, then run tests.
Load only the references matching the task. Multiple may apply (e.g., a concurrency PR review loads both code-review and concurrency references).
| Signal | Reference |
|---|---|
| Tests, table-driven, helpers, mocks | references/go/testing.md + sub-refs in testing/ |
| Goroutines, channels, sync, race conditions | references/go/concurrency.md + concurrency/concurrency-patterns.md |
| Error wrapping, sentinels, errors.Is/As | references/go/error-handling.md + error-handling/patterns.md |
| Code smells, bad patterns | references/go/preferred-patterns.md + preferred-patterns/code-examples.md |
| Code review process | references/go/code-review.md + code-review/common-review-comments.md |
| SAPCC repos, go-bits | references/go/sapcc-conventions.md + sub-refs in sapcc-conventions/ |
| make check, linting | references/go/quality-gate.md + sub-refs in quality-gate/ |
| Google style decisions | references/go/google-style-guide/ (pinned upstream) |
| Signal | Reference |
|---|---|
| Scopes, cancellation, dispatchers, exception handling | references/kotlin/concurrency-patterns.md |
| JUnit 5, Kotest, MockK, runTest | references/kotlin/kotlin-testing.md |
| Signal | Reference |
|---|---|
| Union/intersection types, enums, readonly, match | references/php/modern-php-features.md |
| PHP-CS-Fixer, PHPStan, Psalm, Rector | references/php/quality-tools.md |
| PHPUnit, data providers, mocks, stubs | references/php/testing-patterns.md |
| Signal | Reference |
|---|---|
| TaskGroup, AsyncSequence, AsyncStream, cancellation | references/swift/task-patterns.md |
| XCTest, Swift Testing, async tests, UI tests | references/swift/swift-testing.md |
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Manage multiple Claude Code accounts: add, list, check, launch, and install shell aliases for 10+ isolated CLAUDE_CONFIG_DIR profiles.
日本語の概要は準備中です。原文の説明を表示しています。
Improve architecture across modules by deepening interfaces.
日本語の概要は準備中です。原文の説明を表示しています。
Assessment: read-only inspection, codebase overview, value analysis, health checks, ADR consultation, decision analysis, multi-perspective critique.
日本語の概要は準備中です。原文の説明を表示しています。
Background memory consolidation — overnight review, merge, and injection payload for memory files.
日本語の概要は準備中です。原文の説明を表示しています。
Jev-driven browser automation: Jev picks operations, programs execute, a text model writes field values only when Jev cannot pick one from the goal.
日本語の概要は準備中です。原文の説明を表示しています。
Write, compose, integrate, and improve programs that call Jev, TypeSafe's System One judgment model.
日本語の概要は準備中です。原文の説明を表示しています。