KS
Killer-Skills

expectations — how to use expectations how to use expectations, expectations setup guide, expectations alternative, what is expectations, expectations vs coding standards, expectations install for AI agents, expectations best practices for developers, capture the flag game development, code refactoring with expectations

v1.0.0
GitHub

About this Skill

Ideal for Code Refactoring Agents requiring meticulous context understanding and value-added edits. Expectations is a set of guidelines for working with code, emphasizing deep thinking, context understanding, and value-added refactoring.

Features

Thinks deeply before making code edits
Assesses refactoring after every green build
Keeps project docs current via CLAUDE.md updates
Asks clarifying questions for ambiguous requirements
Thinks from first principles to avoid assumptions
Understands the full context of code and requirements

# Core Topics

jscriptcoder jscriptcoder
[0]
[0]
Updated: 3/6/2026

Quality Score

Top 5%
39
Excellent
Based on code quality & docs
Installation
SYS Universal Install (Auto-Detect)
Cursor IDE Windsurf IDE VS Code IDE
> npx killer-skills add jscriptcoder/jshack.me/expectations

Agent Capability Analysis

The expectations MCP Server by jscriptcoder is an open-source Categories.community integration for Claude and other AI agents, enabling seamless task automation and capability expansion. Optimized for how to use expectations, expectations setup guide, expectations alternative.

Ideal Agent Persona

Ideal for Code Refactoring Agents requiring meticulous context understanding and value-added edits.

Core Value

Empowers agents to think deeply about code edits, understand full context, and refactor with value, leveraging principles like assessing refactoring after every green and keeping project docs current, all while working efficiently with code requirements and CLAUDE.md documentation.

Capabilities Granted for expectations MCP Server

Refactoring code for Capture the Flag games
Generating clarifying questions for ambiguous requirements
Assessing value-added refactoring after successful edits

! Prerequisites & Limits

  • Requires understanding of code context and requirements
  • Assumes familiarity with CLAUDE.md documentation framework
  • May necessitate additional time for deep thinking and context understanding
Project
SKILL.md
2.5 KB
.cursorrules
1.2 KB
package.json
240 B
Ready
UTF-8

# Tags

[No tags]
SKILL.md
Readonly

Expectations

When Working with Code

  1. Think deeply before making any edits
  2. Understand the full context of the code and requirements
  3. Ask clarifying questions when requirements are ambiguous
  4. Think from first principles - don't make assumptions
  5. Assess refactoring after every green - but only refactor if it adds value
  6. Keep project docs current - Update CLAUDE.md when introducing meaningful changes

Documentation Framework

At the end of every significant change, ask: "What do I wish I'd known at the start?"

Document if ANY of these are true:

  • Would save future developers >30 minutes
  • Prevents a class of bugs or errors
  • Reveals non-obvious behavior or constraints
  • Captures architectural rationale or trade-offs
  • Documents domain-specific knowledge
  • Identifies effective patterns or anti-patterns
  • Clarifies tool setup or configuration gotchas

Types of Learnings to Capture

  • Gotchas: Unexpected behavior discovered (e.g., "API returns null instead of empty array")
  • Patterns: Approaches that worked particularly well
  • Anti-patterns: Approaches that seemed good but caused problems
  • Decisions: Architectural choices with rationale and trade-offs
  • Edge cases: Non-obvious scenarios that required special handling
  • Tool knowledge: Setup, configuration, or usage insights

Documentation Format

markdown
1#### Gotcha: [Descriptive Title] 2 3**Context**: When this occurs 4**Issue**: What goes wrong 5**Solution**: How to handle it 6 7// CORRECT - Solution 8const example = "correct approach"; 9 10// WRONG - What causes the problem 11const wrong = "incorrect approach";

Code Change Principles

  • Start with a failing test - always. No exceptions.
  • After making tests pass, always assess refactoring opportunities
  • After refactoring, verify all tests and static analysis pass, then commit
  • Respect the existing patterns and conventions
  • Maintain test coverage for all behavior changes
  • Keep changes small and incremental
  • Ensure all TypeScript strict mode requirements are met
  • Provide rationale for significant design decisions

If you find yourself writing production code without a failing test, STOP immediately and write the test first.

Communication

  • Be explicit about trade-offs in different approaches
  • Explain the reasoning behind significant design decisions
  • Flag any deviations from guidelines with justification
  • Suggest improvements that align with these principles
  • When unsure, ask for clarification rather than assuming

Related Skills

Looking for an alternative to expectations or building a Categories.community AI Agent? Explore these related open-source MCP Servers.

View All

widget-generator

Logo of f
f

widget-generator is an open-source AI agent skill for creating widget plugins that are injected into prompt feeds on prompts.chat. It supports two rendering modes: standard prompt widgets using default PromptCard styling and custom render widgets built as full React components.

149.6k
0
Design

chat-sdk

Logo of lobehub
lobehub

chat-sdk is a unified TypeScript SDK for building chat bots across multiple platforms, providing a single interface for deploying bot logic.

73.0k
0
Communication

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication