You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .amazonq/rules/problem-creation.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
5
5
When user requests a problem by **number** or **name/slug**, the assistant will:
6
6
7
-
1.**Scrape** problem data using `lcpy scrape`
7
+
1.**Scrape** problem data using `poetry run lcpy scrape`
8
8
2.**Transform** data into proper JSON template format
9
9
3.**CRITICAL: Include images** - Extract image URLs from scraped data and add to readme_examples with format: `\n\n` before code blocks
10
10
- Check scraped data for image URLs in the `raw_content` field
@@ -23,10 +23,10 @@ When user requests a problem by **number** or **name/slug**, the assistant will:
A modern Python LeetCode practice environment that goes beyond basic problem solving. Features automated problem generation from LeetCode URLs, beautiful data structure visualizations (TreeNode, ListNode, GraphNode), and comprehensive testing with 12+ test cases per problem. Built with professional development practices including CI/CD, type hints, and quality gates.
10
+
A Python package to generate professional LeetCode practice environments. Features automated problem generation from LeetCode URLs, beautiful data structure visualizations (TreeNode, ListNode, GraphNode), and comprehensive testing with 10+ test cases per problem. Built with professional development practices including CI/CD, type hints, and quality gates.
11
11
12
12
**What makes this different:**
13
13
14
-
- 🤖 **LLM-Assisted Workflow**: Generate new problems instantly with AI assistance
14
+
- 🤖 **[LLM-Assisted Workflow](#llm-assisted-problem-creation)**: Generate new problems instantly with AI assistance
15
15
- 🎨 **Visual Debugging**: Interactive tree/graph rendering with Graphviz and anytree
16
16
- 🧪 **Production Testing**: Comprehensive test suites with edge cases and reproducibility verification
17
17
- 🚀 **Modern Python**: PEP 585/604 type hints, Poetry, and professional tooling
@@ -21,46 +21,47 @@ A modern Python LeetCode practice environment that goes beyond basic problem sol
21
21
22
22
**Current**: All 75 problems from [Grind 75](https://www.techinterviewhandbook.org/grind75/) - the most essential coding interview questions curated by the creator of Blind 75.
23
23
24
-
**Future**: Planned expansion to all 169 Grind problems for comprehensive interview preparation.
24
+
**Future**: Planned expansion to all free Grind problems for comprehensive interview preparation.
25
25
26
26
## 🚀 Quick Start
27
27
28
-
### CLI Installation (Recommended)
28
+
### System Requirements
29
+
30
+
-**Python 3.13+** - Modern Python runtime with latest type system features
If you need more problems beyond Grind 75, use an LLM assistant in your IDE (Cursor, GitHub Copilot Chat, Amazon Q, etc.):
190
+
To extend the problem collection beyond the current catalog, leverage an LLM assistant within your IDE (Cursor, GitHub Copilot Chat, Amazon Q, etc.).
191
+
192
+
📖 **[Complete LLM-Assisted Problem Creation Guide](docs/llm-assisted-problem-creation.md)** - Comprehensive guide with screenshots and detailed workflow.
193
+
194
+
**Quick Start:**
151
195
152
196
```bash
153
-
# Example commands to give your LLM assistant:
154
-
"Create LeetCode problem 146 (LRU Cache)"
155
-
"Add problem 'Word Ladder' by number 127"
156
-
"Generate problem 'Serialize and Deserialize Binary Tree'"
197
+
# Problem generation commands:
198
+
"Add problem 198. House Robber"
199
+
"Add problem 198. House Robber. tag: grind"
157
200
158
-
#For test enhancement (when you need more comprehensive test coverage):
201
+
#Test enhancement commands:
159
202
"Enhance test cases for two_sum problem"
160
203
"Fix test reproducibility for binary_tree_inorder_traversal"
161
204
```
@@ -201,6 +244,8 @@ poetry run python -m leetcode_py.tools.check_test_cases --threshold=10
201
244
202
245
### CLI Commands (Global)
203
246
247
+
📖 **[Complete CLI Usage Guide](docs/cli-usage.md)** - Detailed documentation with all options and examples.
0 commit comments