new-data-function
CommunityGenerate a new data-layer function per conventions
Authorstraubt1
Version1.0.0
Installs0
System Documentation
What problem does it solve?
The data/ package is the sole boundary between TFx and the go-tfe SDK. All API calls happen in this layer to keep the codebase testable, maintainable, and easy to reason about.
Core Features & Use Cases
- Standardized pagination using client.FetchAll with PageSize 100.
- Consistent function naming patterns (Fetch*, GetID, Create/Update*/Delete*).
- Co-located tests, header comments, and clear error handling aligned with the repository’s conventions.
Quick Start
Create a new Go file under data/ following the examples in data/projects.go to implement the requested function for a target resource.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: new-data-function Download link: https://github.com/straubt1/tfx/archive/main.zip#new-data-function Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.