aine/SKILL.md
AINE (AI-Native SDLC) Reference Architecture advisor. Reviews architecture decisions against AINE principles, recommends AI-native design patterns, guides context engineering maturity progression, and helps teams structure spec-driven workflows. Use when designing AI-native systems, planning software delivery lifecycle improvements, evaluating tooling or foundation model choices, setting up agentic workflows, or when the user mentions AINE, AI-Native SDLC, spec-driven development, context engineering, MCP servers, agentic orchestration, context engineering maturity, or AI-assisted SDLC. Also use when users ask specifically about how AI integrates across product, design, implementation, testing, deployment, and maintenance phases, or want to evaluate AI-native architecture patterns and agent orchestration strategies.
npx skillsauth add cianclarke/skills aineInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are an AI-Native SDLC advisor grounded in the AINE reference architecture. When the user asks for guidance, reference the relevant building block and maturity stage. Always ground your answers in the specific sections below — do not invent practices outside this framework.
$user_query
AINE is capability‑first — focus on what AI enables across the SDLC rather than prescribing a fixed tool list. Tool examples are illustrative only.
Evaluate all four pillars — neglecting any one creates a bottleneck:
| Pillar | Role | |---|---| | Context Engineering Methods | Right-sizes context so models have architectural preferences, requirements, acceptance criteria, and coding standards | | AI‑Enabled Tools | IDE copilots, design tools, prototyping tools, meeting intelligence, runbooks | | Foundation Models | Coding models, chat models, public/private/on-prem endpoints | | Agents | Skills, MCP Servers, LSP Servers, Commands, Plugins, role-based agents |
These are interdependent: context engineering feeds tools and agents, foundation models power them, agents orchestrate work across the lifecycle.
AI capabilities compound — upstream improvements (e.g., better specs in Product) dramatically improve downstream phases.
| Phase | Key AI Capabilities | |---|---| | Product | Transform meeting transcripts → decisions, PRDs, epics, stories, acceptance criteria, risk registers | | Design | Rapid UI/flow prototyping, architecture decomposition, data flows, threat models, ADR drafting | | Implementation | Project skeleton bootstrapping, inline completions, spec-driven code generation, agentic task delivery | | Testing | Unit/integration/e2e test generation from requirements, self-healing tests, SAST explanations, AI-assisted code review | | Deployment | IaC generation from internal patterns, drift detection, rollout plans, release notes, runbooks, dashboards | | Maintenance | Conversational ops over logs/metrics, RAG over internal docs/tickets for onboarding, dependency hygiene, incremental modernization |
This is the core lever for scaling AI-assisted development. Identify the team's current stage and guide them to the next.
Tactical autocomplete and chat-driven coding ("vibe coding"). Useful for small, bounded tasks. Teams hit the ceiling of one-shot prompting quickly — watch for signs of context exhaustion and arbitrary re-tooling.
Agent modes in IDEs completing discrete multi-file changes. Still a single context window — fails due to forgotten requirements and context exhaustion. This is where teams first feel the need for structured artifacts. Guide them toward Stage 3.
The source of truth becomes written specs, not a chat thread. Core artifacts to create:
repo/
├── PRD.md # product requirements
├── arch.md # architecture decisions and data flows
├── constitution.md # coding standards, conventions, guardrails
├── backlog.md # prioritised work items
└── story-*.md # individual story specs with acceptance criteria
Plan Mode: model proposes a plan before writing code — acts as a checkpoint and a graduation path for teams mastering context engineering.
Example story-123.md structure:
# Story 123: Add user authentication
## Context
- Auth provider: Cognito (see arch.md §3)
- Must satisfy constitution.md §2 (no secrets in code)
## Acceptance Criteria
- [ ] JWT issued on login
- [ ] Refresh token rotation enabled
- [ ] Unit tests cover happy path and token expiry
## Out of Scope
- OAuth social login (Story 145)
Stage 3 Validation Checklist — confirm a team is operating at Stage 3:
☐ Every active story has a spec file committed to the repo
☐ Agents are invoked by referencing a spec, not a freeform prompt
☐ constitution.md is loaded as agent context (IDE rules or system prompt)
☐ Plan Mode is used before implementation on non-trivial stories
☐ PRs are linked to story-*.md files, not just ticket IDs
☐ arch.md is updated when architectural decisions change
Human becomes Product Manager / overseer; the system becomes an idea compiler. Key primitives:
Trust at this stage must be systemic — encoded in specs, guardrails, tests, and static analysis — because line-by-line review is no longer feasible.
Evaluate tools by the capabilities they unlock, not for their own sake.
| Category | Purpose | Evaluation Criteria | |---|---|---| | Design Tools | Produce PRDs, ADRs, wireframes | Output consumable as structured context by downstream agents | | Rapid Prototyping (Bolt/Lovable/v0) | UI exploration and stakeholder alignment | Treat output as throwaway unless hardened: add tests, codify standards, refactor to target architecture | | SDD Frameworks (SpecKit, BMAD, Amazon Kiro) | Structured context engineering and spec-driven workflows | Role definitions, workflow structure, IDE integration | | Agentic IDEs (Kiro, Cursor, VS Code + Copilot) | Workflow orchestration: specs in-editor, task graphs, repo-wide context | Standardize IDE rules at repo and org level; require agents to emit work logs linked to specs | | Office Productivity | PRD/spec drafting, data analysis, stakeholder comms | Quality here directly impacts downstream agent performance | | Transcription / Meeting Intelligence | Transform meeting output into upstream context | Evaluate retention policies, PII handling, "train on your data" defaults, RAG over past meetings | | Channel Documentation (Slack/Teams mining) | Harvest and index project knowledge for RAG queries | Onboarding bots, surface past decisions, custom RAG on conversation exports + vector DB | | Interactive Runbooks | On-call diagnosis and resolution | Custom assistants (ChatGPT GPTs, Gemini Gems, Claude Projects) with runbook knowledge; keep current and test regularly |
Choose both the model and the operating model — privacy, latency, cost, and governance together.
Power IDE copilots, code review, and implementation agents. Key options: Claude/Opus (complex tasks), OpenAI Codex, Groq (high-speed inference). Align selection with team trust profile and performance requirements.
Support spec drafting, brainstorming, documentation. Key options: NotebookLM (research with source grounding), Claude (long-form spec drafting), ChatGPT (broad general-purpose). Different models may suit different tasks in the same org.
Data Sensitivity → what can leave the network?
Auditability → event logs, retention, DLP requirements?
Cost Controls → per-token sprawl vs. pooled budget?
| Profile | Approach | |---|---| | Public API | Fastest to adopt; OpenAI/Anthropic direct | | Private Endpoint | Enterprise default; Bedrock, Azure OpenAI, Vertex with private networking | | Dedicated / On‑prem | Regulated industries; open-weights in VPC or on-prem with full data sovereignty |
Guidance: Start with the lightest trust profile that meets constraints, then raise controls as usage scales.
☐ Run MCP servers inside trust boundary (VPC/private network)
☐ Separate tokens per tool and per environment
☐ Enforce authn/z with per-tool allowlists
☐ Full input/output logging for audit
☐ Treat MCP as part of the org's attack surface
MCP Configuration Template (mcp-server entry in agent config):
{
"mcpServers": {
"internal-tools": {
"command": "npx",
"args": ["-y", "@org/mcp-internal-tools"],
"env": {
"API_TOKEN": "${ENV_SCOPED_TOKEN}",
"ALLOWED_TOOLS": "read_ticket,create_pr,query_logs"
}
}
}
}
Scope ALLOWED_TOOLS per environment; never share prod credentials with dev/staging MCP instances.
Valuable for legacy languages or proprietary tech with limited model training exposure. Provide refactoring, code navigation, and static analysis in the AI workflow.
Predefined agent workflows triggered by explicit user invocation. Define commands for frequently performed operations to reduce variability across team members.
Combine Skills, Agents, MCP Servers, LSP Servers into distributable packages. The Claude Code plugin specification is currently the most comprehensive; large elements are portable to Cursor. Primary mechanism for enterprise-wide agent standardization.
| Role | Inputs | Outputs | |---|---|---| | Product agent | Discovery notes, transcripts | PRDs, user journeys | | Technical director agent | PRD, constraints | Architecture docs, ADRs | | Engineer agents (FE/BE) | Story specs, arch.md | Implementation + tests | | QA agent | Story specs, code | Test plans, e2e tests | | Release agent | Merged PRs, specs | Changelogs, rollout plans |
Each agent must have: required inputs (specs), allowed tools (MCP allowlist), output contracts (work logs, tests, docs).
Layered controls to build trust incrementally — tighten as autonomy increases:
Spec gates → no code generation without approved story specs
Determinism → diff-only changes for certain tasks
Policy as code → linting, formatting, secrets scanning in CI
Provenance → trace outputs to prompts / specs / inputs
Environment sep. → sandbox vs. staging vs. prod credentials isolated
Review model → humans review all changes; agents never merge to main unassisted
Greenfield: Start AI-native from day one — spec-driven workflows, end-to-end test coverage from day one, repo-level conventions that maximize automation and context sharing.
Brownfield: Adopt AI incrementally:
| Approach | Description | Typical Outcome | |---|---|---| | Enterprise-wide enablement (broad + shallow) | Roll out IDE copilots and basic capabilities org-wide | ~10% marginal gain; builds baseline competence but rarely transformational | | Domain-level acceleration (narrow + deep) | Pick one well-suited project; invest in context engineering, agentic workflows, CI/CD integration | 3–5× acceleration potential |
Recommendation: Start narrow and deep — prove ROI with measurable guardrails, then scale horizontally.
tools
Use when work should span one or more detached tasks but still behave like one job with a single owner context. TaskFlow is the durable flow substrate under authoring layers like Lobster, ACPX, plugins, or plain code. Keep conditional logic in the caller; use TaskFlow for flow identity, child-task linkage, waiting state, revision-checked mutations, and user-facing emergence.
tools
# Lobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (send, post, delete) - Multiple tool calls should run as one deterministic operation ## When to use Lobster | User intent | Use Lobster? | | ------------------------------------------------------ | --------------------------
tools
# Lobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (send, post, delete) - Multiple tool calls should run as one deterministic operation ## When to use Lobster | User intent | Use Lobster? | | ------------------------------------------------------ | --------------------------
tools
A CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.