Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

homework-machine

БесплатноЗапускает вложенные скриптыНе проверен

End-to-end university assignment completion. Analyzes assignment requirements (PDF or text), conducts research, writes implementation code with tests, drafts…

JeanDiableот JeanDiable★ 31 звезда на GitHub1 установка в других каталогах

Об этом скилле

Overview

The homework-machine skill provides an end-to-end pipeline for completing university assignments and coursework. It automates the entire workflow from requirement analysis through final deliverable assembly, including:

  • Requirement Analysis — Parse assignment specifications and extract all deliverables
  • Research Phase — Conduct literature search for background and methods
  • Code Implementation — Write production-quality code with comprehensive tests
  • Report Writing — Generate academic reports with proper citations and formatting
  • Paraphrasing — Automatic anti-plagiarism via translation round-trip (macOS only)
  • Deliverable Assembly — Collect all outputs with submission checklist

The workflow produces publication-ready reports, tested code, and all supporting materials needed for submission.

Arguments

  • <assignment> (required) — Path to assignment PDF or plain text file containing assignment requirements
  • --format (optional, default: latex) — Output report format: latex or docx
  • --language (optional, default: English) — Report writing language for the academic report

Example usage:

homework-machine /path/to/assignment.pdf --format latex --language English
homework-machine "assignment_text.txt" --format docx

Setup

Before running this skill, ensure all dependencies are installed:

pip install -r "BASE_DIR/scripts/requirements.txt"

If using .docx output format, also install the Word document library:

pip install python-docx

Verify that the following helper scripts exist in BASE_DIR/scripts/:

  • paper_search.py — Academic paper search and retrieval
  • bibtex_utils.py — BibTeX citation management
  • translate_roundtrip.py — Translation-based paraphrasing (macOS only)

Workflow

The homework-machine executes 6 phases in sequence. After Phase 1, the user must explicitly confirm the plan before proceeding.

Phase 1 — Analyze Assignment

  1. Read the Assignment

    • If the input is a PDF, read it using appropriate tools
    • Paginate large PDFs (>20 pages) to avoid context overflow
    • If the input is a text file, read the entire content
  2. Extract Deliverables

    • List all required outputs: academic report, source code, datasets, written answers, specific questions to address
    • Identify the format and structure expected for each deliverable
  3. Identify Constraints and Grading Criteria

    • Page limits for the report
    • Specific format requirements (LaTeX template, Word template, etc.)
    • Required methods, algorithms, or frameworks
    • Expected citation count and style
    • Code submission format (single file, project structure, etc.)
    • Grading rubric if provided
  4. Present the Plan to User

    • Summarize the assignment scope, deliverables, and constraints
    • Display estimated effort for each phase
    • Present the execution plan
    • Wait for explicit user confirmation before proceeding to Phase 2
    • Ask the user: "Are there any additional requirements or constraints not mentioned in the assignment that I should know about?"
    • Allow the user to add custom constraints, provide reference materials, or modify the scope

Phase 2 — Research

  1. Conduct Literature Search

    • Run the research command with the assignment topic:
      python "BASE_DIR/scripts/paper_search.py" --query "<assignment-topic>" --max-results 20 --sort citations
      
    • If the assignment mentions specific papers, methods, or techniques, run additional targeted searches
  2. Collect Findings

    • Extract key concepts, mathematical formulations, and algorithms from top-cited papers
    • Identify foundational methods and state-of-the-art approaches relevant to the assignment
    • Note empirical results and benchmarks that will validate the implementation
    • Document all sources for later citation
  3. Organize Research Results

    • Group findings by topic area (background, method, optimization, benchmarks, etc.)
    • Prioritize papers by relevance and citation count
    • Prepare to reference these in the report's Related Work section

Phase 3 — Code Implementation

  1. Write Implementation Code

    • Use Python as the default language unless the assignment specifies otherwise
    • Implement all required algorithms, data structures, and functionality per the assignment spec
    • Follow the specific requirements for methods, libraries, or frameworks mentioned in the assignment
    • Use clean, readable code with meaningful variable names
    • Add inline comments explaining the approach, key decisions, and non-obvious logic
  2. Write Test Cases

    • Write comprehensive test cases that verify correctness
    • Test against expected outputs provided in the assignment
    • Test edge cases and boundary conditions
    • Ensure tests are isolated and reproducible
    • Aim for 80%+ code coverage
  3. Run and Verify

    • Execute all tests and confirm they p
Полный SKILL.md на GitHub

Установить homework-machine в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

scripts/bibtex_utils.pyscripts/paper_search.pyscripts/requirements.txtscripts/translate_roundtrip.py

FAQ

Что делает скилл homework-machine?

End-to-end university assignment completion. Analyzes assignment requirements (PDF or text), conducts research, writes implementation code with tests, drafts an academic report (LaTeX or Word) with accurate citations, and performs automatic paraphrasing for anti-plagiarism via translation round-trip (macOS only). Use when the user provides a homework assignment, coursework, lab report requirements, or says "complete this assignment", "do my homework", "write this report", "finish this coursework".

Как установить скилл homework-machine?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл homework-machine запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить homework-machine с