From skillkit-frameworks
Implements STAR (Stop-Think-Analyze-Respond) framework for agents to analyze implicit intent and impact before executing ambiguous code requests like 'fix', 'improve', or broad modifications.
npx claudepluginhub rfxlamia/skillkit --plugin skillkit-frameworksThis skill uses the workspace's default tool permissions.
Agent Initiative helps AI agents avoid **literal interpretation trap** - executing commands literally without understanding context and impact. This framework uses **STAR (Stop-Think-Analyze-Respond)** to ensure agents think before acting.
Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Analyzes competition with Porter's Five Forces, Blue Ocean Strategy, and positioning maps to identify differentiation opportunities and market positioning for startups and pitches.
Agent Initiative helps AI agents avoid literal interpretation trap - executing commands literally without understanding context and impact. This framework uses STAR (Stop-Think-Analyze-Respond) to ensure agents think before acting.
Metaphor: When a user asks to "turn the world into paper because trees are gone," a good agent doesn't turn EVERYTHING into paper - but chooses what's appropriate (trash, inanimate objects) and protects living beings.
Trigger conditions:
Don't use when:
Important Principle: Documentation is a REFERENCE, not an OBLIGATION. Existing code is the primary source of truth.
In the AI era, documentation is often:
┌─────────────────────────────────────────┐
│ SOURCE OF TRUTH HIERARCHY │
├─────────────────────────────────────────┤
│ 1. Currently running code ← Most │
│ (runtime behavior, actual logic) │
│ │
│ 2. Passing test suite │
│ (behavioral contracts) │
│ │
│ 3. Git history & commit messages │
│ (intent and historical context) │
│ │
│ 4. Code comments (if specific) │
│ (explanations of WHY, not WHAT) │
│ │
│ 5. External documentation ← Least │
│ (README, wiki, API docs) trusted │
└─────────────────────────────────────────┘
Don't blindly trust documentation. Verify with:
| Warning Sign | Action |
|---|---|
| "According to documentation X but code doesn't work" | Prioritize code, documentation may be outdated |
| "Documentation says A but test expects B" | Tests are contracts, documentation can be wrong |
| "README says this feature exists but can't find it" | Check git history, may have been deleted |
| "API docs don't match actual response" | Trust actual response, docs may not be updated |
User: "Add feature X according to this API documentation"
❌ Wrong: Follow API documentation without verification → code error because endpoint has changed
✅ Correct:
Before execution, pause and identify:
┌─────────────────────────────────────────┐
│ STOP CHECKPOINT │
├─────────────────────────────────────────┤
│ 1. What did the user SAY? │
│ 2. What does the user MEAN? │
│ 3. Is there a gap between the two? │
└─────────────────────────────────────────┘
Red flags that trigger STOP:
Translate literal request into actual intent:
| User Says | Might Actually Mean |
|---|---|
| "Fix this function" | Fix function + update callers + update tests |
| "Delete unused code" | Delete unused BUT preserve if might be needed |
| "Rename X to Y everywhere" | Rename in code, but maybe not in API/DB |
| "Make it faster" | Optimize hot paths, not micro-optimizations |
Questions to ask yourself:
Before action, scan for dependencies:
# For code changes:
1. Grep/Glob for usages of target
2. Identify callers and dependencies
3. Check test coverage
4. Identify API contracts that might be affected
Impact Zones:
┌──────────────┐
│ Direct Zone │ <- Direct target (file/function)
├──────────────┤
┌────┤ Caller Zone │ <- Who calls this?
│ ├──────────────┤
│ │ Contract Zone│ <- API, interface, types
│ ├──────────────┤
└────┤ Test Zone │ <- Tests that need updating
└──────────────┘
For each zone, ask:
Execute with graduated approach:
┌─────────────────────────────────────────┐
│ RESPONSE PATTERN │
├─────────────────────────────────────────┤
│ "I will [action] on [scope]. │
│ This will affect [impact]. │
│ I will NOT touch [exclude]. │
│ Confirm before proceeding?" │
└─────────────────────────────────────────┘
| Level | Signal | Action |
|---|---|---|
| Low | Specific, single-file, no deps | Direct execution |
| Medium | Multi-file, has callers | STAR light (T+A) |
| High | Abstract request, wide scope | Full STAR |
□ Do I understand INTENT, not just WORDS?
□ Have I scanned dependencies?
□ Is there anything that might BREAK silently?
□ Have I confirmed ambiguous scope?
□ Can I ROLLBACK if wrong?
| Pitfall | Example | Prevention |
|---|---|---|
| Literal execution | "Delete X" → delete all X including important ones | Check importance before delete |
| Scope creep | Fix bug A → refactor B, C, D | Stick to original scope |
| Assumption blindness | Assume user wants X approach | Ask if ambiguous |
| Silent breakage | Change function → caller breaks | Scan callers first |
| Documentation trap | "Documentation says X" → follow without verification | Trust code reality, docs are just reference |
star-framework.md - Detailed STAR implementationimpact-analysis.md - Dependency analysis techniquesintent-patterns.md - Common implicit intent patternsexamples.md - Real-world examplesCore Principles: