solve

Solid

Solve competitive programming and LeetCode-style problems with educational explanations. Use when asked to "solve this problem", "help with this leetcode", "competitive programming solution", "solve this algorithm problem", "coding challenge solution", "how to solve this coding problem", or any algorithmic problem-solving request.

AI & Automation 38 stars 7 forks Updated today MIT

Install

View on GitHub

Quality Score: 86/100

Stars 20%
53
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Competitive Programming Problem Solver Solve competitive programming and LeetCode-style problems with clear educational explanations, step-by-step walkthroughs, and verified Python solutions. **CRITICAL: Complete ALL 4 phases. Do not stop after classification or skip the agent.** ## Phase 1: Parse Input **Goal:** Extract and understand the problem statement. If `$ARGUMENTS` is provided, parse the problem statement from it. Extract: - Problem description and objective - Input/output format - Constraints (N, M, value ranges) - Example test cases with expected outputs - Any special conditions (modular arithmetic, multiple test cases, interactive) If `$ARGUMENTS` is empty or unclear, use `AskUserQuestion` to request the problem: ``` AskUserQuestion: question: "Please provide the problem statement. You can paste the full text, describe it in your own words, or provide a link." options: - label: "Paste problem text" description: "Paste the full problem statement including constraints and examples" - label: "Describe the problem" description: "Describe what the problem asks in your own words" ``` If the problem statement is ambiguous or missing key information (constraints, examples), ask for clarification before proceeding. ## Phase 2: Classify Problem **Goal:** Determine the algorithmic category, technique, and difficulty. Analyze the problem to determine: ### 2.1 Primary Category Match to one of: - **Dynamic Programming** — optimization over ...

Details

Author
sequenzia
Repository
sequenzia/agent-alchemy
Created
4 months ago
Last Updated
today
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

verify

Verify a competitive programming or LeetCode solution for correctness, edge cases, and performance. Use when asked to "verify my solution", "check my code", "is this solution correct", "test my solution", "review my competitive programming answer", "validate my algorithm", or any solution verification request.

38 Updated today
sequenzia
AI & Automation Listed

math-modeling-solver

数学建模竞赛解题全流程指导。覆盖国赛(CUMCM)和美赛(MCM/ICM)全部题型(A-F),提供12种问题本质分析、95+场景模型决策矩阵、5本算法Cookbook、11本完整例题Playbook、22个Python+7个MATLAB可运行代码模板。与math-modeling-paper形成"解题→写作"配对。当用户提及建模思路、选什么模型、怎么建模、赛题求解、粘贴赛题文本、美赛/国赛题目分析、CVaR/NSGA-II/Monte Carlo/时间序列/ANOVA/灰色关联、网络流/图论/生态建模、模型命名/Memo/Letter/Our Work流程图时,使用此skill。

54 Updated 2 days ago
Lupynow
AI & Automation Solid

solution-explainer

Generate clear explanations of algorithm solutions

1,160 Updated today
a5c-ai
AI & Automation Listed

computational-thinking

Computational thinking as a problem-solving discipline independent of programming languages. Covers the four pillars (decomposition, pattern recognition, abstraction, algorithm design), computational problem-solving methodology (understand, decompose, generalize, formalize, verify), abstraction levels (from hardware through user interface), modeling and simulation, automata and formal languages (DFA, NFA, regular expressions, context-free grammars, Turing machines), computational complexity classes (P, NP, NP-complete, undecidable), and constructionist pedagogy (learning by building, Logo, Scratch, physical computing). Use when approaching unfamiliar problems, teaching problem-solving strategies, analyzing problem complexity, or bridging between domain knowledge and computational solutions.

62 Updated today
Tibsfox
AI & Automation Listed

compete

Competitive intelligence and market positioning analysis. Researches competitors, compares features, pricing, and tech stacks, then produces a prioritized gap analysis with actionable roadmap. Trigger on: competitors, competitive analysis, gap analysis, feature comparison, market research, what are we missing, who are our competitors, pricing comparison, market positioning.

4 Updated yesterday
tinh2