computer-scientist-analyst
Analyzes events through computer science lens using computational complexity, algorithms, data structures, systems architecture, information theory, and software engineering principles to evaluate feasibility, scalability, security. Provides insights on algorithmic efficiency, system design, computational limits, data management, and technical trade-offs. Use when: Technology evaluation, system architecture, algorithm design, scalability analysis, security assessment. Evaluates: Computational complexity, algorithmic efficiency, system architecture, scalability, data integrity, security.
What this skill does
# Computer Scientist Analyst Skill ## Purpose Analyze events through the disciplinary lens of computer science, applying computational theory (complexity, computability, information theory), algorithmic thinking, systems design principles, software engineering practices, and security frameworks to evaluate technical feasibility, assess scalability, understand computational limits, design efficient solutions, and identify systemic risks in computing systems. ## When to Use This Skill - **Technology Feasibility Assessment**: Evaluating whether proposed systems are computationally tractable - **Algorithm and System Design**: Analyzing algorithms, data structures, and system architectures - **Scalability Analysis**: Determining how systems perform as data/users/load increases - **Performance Optimization**: Identifying bottlenecks and improving efficiency - **Security and Privacy**: Assessing vulnerabilities, threats, and protective measures - **Data Management**: Evaluating data storage, processing, and analysis approaches - **Software Quality**: Analyzing maintainability, reliability, and engineering practices - **Computational Limits**: Identifying fundamental constraints (P vs. NP, halting problem, etc.) - **AI and Machine Learning**: Evaluating capabilities, limitations, and risks of AI systems ## Core Philosophy: Computational Thinking Computer science analysis rests on fundamental principles: **Algorithmic Thinking**: Problems can be solved through precise, step-by-step procedures. Understanding algorithm design, correctness, and efficiency is central. "What is the algorithm?" is a key question. **Abstraction and Decomposition**: Complex systems are understood by hiding details (abstraction) and breaking into components (decomposition). Interfaces define boundaries. Modularity enables reasoning about large systems. **Computational Complexity**: Not all problems are equally hard. Understanding time and space complexity reveals fundamental limits. Some problems are intractable; efficient solutions may not exist. **Data Structures Matter**: How data is organized profoundly affects efficiency. Choosing appropriate data structures is as important as choosing algorithms. **Correctness Before Optimization**: Systems must first be correct (produce right answers, behave safely). "Premature optimization is the root of all evil." Prove correctness, then optimize bottlenecks. **Trade-offs are Inevitable**: Computing involves constant trade-offs: time vs. space, generality vs. efficiency, security vs. usability, consistency vs. availability. No solution is optimal on all dimensions. **Formal Reasoning and Rigor**: Specifications, proofs, and formal methods enable reasoning about correctness and properties. "Does this program do what we think?" requires rigor, not just testing. **Systems Thinking**: Real computing systems involve hardware, software, networks, users, and environments interacting. Emergent properties and failure modes arise from interactions. **Security is Hard**: Systems face adversaries actively trying to break them. Designing secure systems requires threat modeling, defense in depth, and assuming components will fail or be compromised. --- ## Theoretical Foundations (Expandable) ### Framework 1: Computational Complexity Theory **Core Questions**: - How much time and space (memory) does algorithm require as input size grows? - What problems can be solved efficiently? Which are intractable? - Are there fundamental limits on computation? **Time Complexity** (Big-O Notation): - **O(1)**: Constant time - doesn't depend on input size - **O(log n)**: Logarithmic - binary search, balanced trees - **O(n)**: Linear - iterate through array - **O(n log n)**: Linearithmic - efficient sorting (merge sort, quicksort) - **O(n²)**: Quadratic - nested loops, naive sorting - **O(2ⁿ)**: Exponential - brute force search, many NP-complete problems - **O(n!)**: Factorial - permutations, traveling salesman brute force **Complexity Classes**: **P (Polynomial Time)**: Problems solvable in polynomial time (O(nᵏ)) - Example: Sorting, shortest path, searching **NP (Nondeterministic Polynomial Time)**: Problems where solutions can be verified in polynomial time - Example: Boolean satisfiability, graph coloring, traveling salesman **NP-Complete**: Hardest problems in NP; if any one solvable in P, then P=NP - Example: SAT, clique, knapsack, graph coloring **NP-Hard**: At least as hard as NP-complete; may not be in NP - Example: Halting problem, optimization versions of NP-complete problems **P vs. NP Question**: "Can every problem whose solution can be quickly verified also be quickly solved?" (One of millennium problems; $1M prize) - Most believe P ≠ NP (many problems fundamentally hard) - Implications: If P=NP, cryptography breaks; if P≠NP, many problems remain intractable **Key Insights**: - Exponential algorithms become intractable for large inputs (combinatorial explosion) - Many important problems (optimization, scheduling, constraint satisfaction) are NP-complete - Heuristics, approximations, and special cases often needed for intractable problems - Complexity analysis reveals what's possible and impossible **When to Apply**: - Evaluating algorithm efficiency - Assessing feasibility of computational approaches - Understanding fundamental limits - Choosing appropriate algorithms **Sources**: - [Computational Complexity - Wikipedia](https://en.wikipedia.org/wiki/Computational_complexity_theory) - [P vs. NP Problem - Clay Mathematics Institute](https://www.claymath.org/millennium-problems/p-vs-np-problem) ### Framework 2: Theory of Computation and Computability **Core Questions**: - What can be computed at all (regardless of efficiency)? - What are fundamental limits on computation? - What problems are undecidable? **Turing Machine**: Abstract model of computation; defines what is "computable" - Church-Turing Thesis: Anything computable can be computed by Turing machine - All reasonable models of computation (lambda calculus, RAM machines, programming languages) are equivalent in power **Decidable vs. Undecidable Problems**: **Decidable**: Algorithm exists that always terminates with correct answer - Example: Is number prime? Does graph contain cycle? **Undecidable**: No algorithm can solve for all inputs - **Halting Problem**: Given program and input, does program halt? (UNDECIDABLE) - Implications: No perfect debugger, virus detector, or program verifier possible - Other undecidable problems: Does program produce specific output? Are two programs equivalent? **Rice's Theorem**: Any non-trivial property of program behavior is undecidable - "Non-trivial": True for some programs, false for others - Implication: No general algorithm to determine semantic properties of programs **Key Insights**: - Some problems cannot be solved by any algorithm, no matter how clever - Fundamental limits exist on what computers can do - Many program analysis tasks are impossible in general (halting, equivalence, correctness) - Workarounds: Approximations, special cases, human insight **When to Apply**: - Understanding fundamental limits on software tools (debuggers, verifiers) - Evaluating claims about program analysis or AI capabilities - Recognizing when complete automation is impossible **Sources**: - [Computability Theory - Wikipedia](https://en.wikipedia.org/wiki/Computability_theory) - [Halting Problem - Wikipedia](https://en.wikipedia.org/wiki/Halting_problem) ### Framework 3: Information Theory **Origin**: Claude Shannon (1948) - "A Mathematical Theory of Communication" **Core Concepts**: **Entropy**: Measure of information content or uncertainty - H = -Σ p(x) log₂ p(x) - Maximum when all outcomes equally likely - Units: bits **Channel Capacity**: Maximum rate information can be reliably transmitted over noisy channel - Shannon's Theorem: Reliable communication possible up to channel capacity - Error correction can ap
Related in Design
contribute
IncludedLocal-only OSS contribution command center. Auto-refreshes the user's in-flight PR and issue state on invoke so conversations start with full context — no need to brief Claude on what's in flight. Helps the user find issues to contribute to on GitHub, builds per-repo dossiers of what each upstream expects (CLA, DCO, branch convention, AI policy, draft-first, review bots, issue templates), runs deterministic gates before any external action so AI-assisted contributions don't reach maintainers as slop. State is markdown-only: candidate files at ~/.contribute-system/candidates/, repo dossiers at ~/.contribute-system/research/, append-only event log at ~/.contribute-system/log.jsonl. No database, no cloud calls. Use when the user asks about their PRs / issues / contributions, wants to find new work to take on, claim an issue, build/refresh a repo's dossier, or draft a Design Issue or PR. Trigger with "/contribute", "what's my PR status", "find a contribution", "claim issue X", "draft a Design Issue for Y", "refresh dossier for Z".
architectural-analysis
IncludedUser-triggered deep architectural analysis of a codebase or scoped subtree across eight modes — information architecture, data flow, integration points, UI surfaces, interaction patterns, data model, control flow, and failure modes. This skill should be used when the user asks to "diagram this codebase," "map the architecture," "show the data flow," "give me an ERD," "trace control flow," "find the integration points," "verify the layout pattern," "audit the UX architecture," or any similar request whose primary deliverable is mermaid diagrams plus cited reports under docs/architecture/. Dispatches haiku/sonnet sub-agents in parallel for per-mode exploration, then verifies every citation mechanically before any node lands in a diagram. Not for one-off prose explanations of code (use code-explanation) or for high-level system design from scratch (use system-design).
mcp
IncludedModel Context Protocol (MCP) server development and tool management. Languages: Python, TypeScript. Capabilities: build MCP servers, integrate external APIs, discover/execute MCP tools, manage multi-server configs, design agent-centric tools. Actions: create, build, integrate, discover, execute, configure MCP servers/tools. Keywords: MCP, Model Context Protocol, MCP server, MCP tool, stdio transport, SSE transport, tool discovery, resource provider, prompt template, external API integration, Gemini CLI MCP, Claude MCP, agent tools, tool execution, server config. Use when: building MCP servers, integrating external APIs as MCP tools, discovering available MCP tools, executing MCP capabilities, configuring multi-server setups, designing tools for AI agents.
react-native-skia
IncludedDesign, build, debug, and optimise high-polish animated graphics in React Native or Expo using @shopify/react-native-skia, Reanimated, and Gesture Handler. Use when the user wants canvas-driven UI, shaders, paths, rich text, image filters, sprite fields, Skottie, video frames, snapshots, web CanvasKit setup, or performance tuning for custom motion-heavy elements such as loaders, hero art, cards, charts, progress indicators, particle systems, or gesture-driven surfaces. Also use when the user asks for fluid, glow, glass, blob, parallax, 60fps/120fps, or GPU-friendly animated effects in React Native, even if they do not explicitly say "Skia". Do not use for ordinary form/layout work with standard views.
plaid
IncludedProduct Led AI Development — guides founders from idea to launched product. Six capabilities: Idea (discover a product idea), Validate (pressure-test the idea against fatal flaws, problem reality, competition, and 2-week MVP feasibility), Plan (vision intake + document generation), Design (translate image references into a design.md spec), Launch (go-to-market strategy), and Build (roadmap execution). Use when someone says "PLAID", "plaid idea", "help me find an idea", "product idea", "idea from my business", "idea from my expertise", "plaid validate", "validate my idea", "pressure-test", "is this idea good", "find fatal flaws", "validate the problem", "plan a product", "define my vision", "generate a PRD", "product strategy", "plaid design", "design from image", "translate image to design", "create design.md", "extract design tokens", "plaid launch", "go-to-market", "launch plan", "GTM strategy", "launch playbook", "plaid build", "build the app", "start building", or "execute the roadmap".
nextjs-framer-motion-animations
IncludedAdds production-safe Motion for React or Framer Motion animations to Next.js apps, including reveal, hover and tap micro-interactions, whileInView, stagger, AnimatePresence, layout and layoutId transitions, reorder, scroll-linked UI, and lightweight route-content transitions. Use when the user asks to add, refactor, or debug Motion or Framer Motion in App Router or Pages Router codebases, especially around server/client boundaries, reduced motion, LazyMotion, bundle size, hydration, or route transitions. Avoid for GSAP-style timelines, WebGL or 3D scenes, heavy scroll storytelling, or CSS-only effects unless Motion is explicitly requested.