feat: add AI-ready infrastructure with commands, skills, and ADRs#1140
Open
feat: add AI-ready infrastructure with commands, skills, and ADRs#1140
Conversation
Add agent-executable infrastructure so AI coding assistants can execute tasks (not just read about them) in the application-sdk: - CLAUDE.md: add 10 critical anti-patterns with code examples - AGENTS.md: symlink to CLAUDE.md for multi-tool compatibility - 4 ADRs: Temporal activities, ObjectStore paths, client hierarchy, interceptor chain design - 8 slash commands: create-client, create-activity, create-workflow, create-handler, create-transformer, write-tests, fix-precommit, create-pr - 8 skills: clients, activities, workflows, handlers, transformers, services, observability, io
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes
Foundation
.claude/settings.json: Enables GitHub pluginArchitecture Decision Records (
docs/decisions/)0001-temporal-activity-patterns.md— Class-based activities, Generic state, heartbeating, 15-min auto-refresh0002-objectstore-path-semantics.md— Path normalization viaas_store_key(), key/prefix vs local file params0003-client-inheritance-hierarchy.md— Three-tier hierarchy: ClientInterface → BaseClient → BaseSQLClient0004-interceptor-chain-design.md— Cross-cutting concerns as separate interceptorsSlash Commands (
.claude/commands/)create-client— Build HTTP or SQL clientscreate-activity— Temporal activities with state + heartbeatingcreate-workflow— Temporal workflows with retry/timeout policiescreate-handler— Handlers bridging clients and activitiescreate-transformer— Metadata transformers with Daft DataFrameswrite-tests— pytest with AAA pattern, 85% coverage targetfix-precommit— Diagnose and fix pre-commit failurescreate-pr— Generate PRs with conventional commit formatSkills (
.claude/skills/)clients/— HTTP and SQL client patternsactivities/— Temporal activity lifecycleworkflows/— Workflow composition and determinismhandlers/— Handler interface implementationtransformers/— Daft DataFrame transformationsservices/— ObjectStore, StateStore, SecretStore, EventStore via Daprobservability/— Structured logging, metrics, tracingio/— Parquet and JSON file I/OTesting
find .claude/ -type f | sort— 10 command files, 8 skill filesls -la AGENTS.md→ points to CLAUDE.mdls docs/decisions/— README + 4 ADRsDocumentation
All new files are documentation. ADRs reference specific source files. Commands and skills reference both ADRs and source files for progressive disclosure.