revops
Design and optimize systems connecting marketing, sales, and customer success into a unified revenue engine.
Designing features for the "Action Era" that are AI-accessible by default
Full skill instructions
Features in LivestockAI must now be designed for dual consumption: Humans (UI) and Agents (MCP/API).
Every feature must be fully functional via Server Functions before any UI is built.
Test: Can an agent complete the entire user story using only bun run check-feature-x.ts (a script calling server functions)?
If yes -> Agent Ready.
If no (logic lives in React components) -> Refactor immediately.
Server functions are the tools we give to agents. Document them accordingly.
export const createBatchFn = createServerFn({ method: 'POST' })
.inputValidator(batchSchema)
.handler(async ({ data }) => {
/* ... */
})
/**
* @description Creates a new livestock batch.
* @workflow
* 1. Check `getFarmFacilities` for space.
* 2. `createBatchFn`
* 3. Log initial `feed_record` if applicable.
*/
Agents operate on Intent, not just data.
Instead of generic CRUD (updateBatch), expose semantic actions (graduateBatch, quarantineBatch).
// ❌ Generic
updateBatch(id, { status: 'sold' })
// ✅ Semantic (Agent Friendly)
markBatchAsSold(id, { date, price, customer })
Semantic actions allow agents to:
Agents need a standard way to ask for permission for high-stakes actions (e.g., ordering feed, selling stock).
The ApprovalRequest Entity:
agentId: Who is asking?action: JSON payload of the server function to call.summary: Human-readable explanation ("I want to order 50 bags of Starter Feed").status: PENDING | APPROVED | REJECTEDAll major entities (Batches, Sales) should have an ai_metadata JSONB column.
Agents use this to store reasoning ("Predicted harvest date change due to low feed intake").
Do not show this raw JSON to users, but use it to power UI "Insights".
three-layer-architecture - Where the logic livesfeature-structure - How to organize the filesDesign and optimize systems connecting marketing, sales, and customer success into a unified revenue engine.
Strategic planning and optimization for email capture offers and gated content.
Directory submissions: the foundation layer of distribution that passes backlinks and discovery surface area into your marketing pages.
Sequence and choreograph multi-step animations with precise timing control and nested timelines.
Structured framework for planning product launches, feature announcements, and go-to-market strategies.
Upload files to Google Drive with automatic MIME type detection and metadata.
Automates CI/CD pipeline setup. Use when setting up or modifying build and deployment pipelines. Use when you need to automate quality gates, configure test runners in CI, or establish deployment strategies.
firecrawl lead gen
firecrawl lead research
firecrawl demo walkthrough
Team leadership persona with standup coordination, meeting prep, task delegation, and team communication.
Identify large Google Drive files consuming storage quota.
Revolutionize Video Creation with AI-Generated Avatars and Voices
Social media on autopilot
Design custom logos instantly with AI.
Text-heavy marketing and design images
Boost Your SEO with Content and SEO Silos
Revolutionize Your Marketing with AI-Powered MarketingBlocks!
10X faster & free AI content creation for 100+ use cases
Tribescaler | Make Your Tweets Go Viral