implement-method

Implement TorchJD methods from research into repository artifacts.

392|21|Updated Jun 1, 2024
One-click install
npx skills add https://github.com/SimplexLab/TorchJD --skill implement-method
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: implement-method
Source: https://github.com/SimplexLab/TorchJD/tree/main/skills/implement-method
Command: npx skills add https://github.com/SimplexLab/TorchJD --skill implement-method

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill turns a researched TorchJD method into a complete, review-ready implementation, so contributors can move from paper analysis to working code without guessing the project’s conventions.

Core Features & Use Cases

  • Research Recovery: Reads the tracking issue and supporting notes to recover the method’s exact equations, state, and interface requirements.
  • Implementation Planning: Maps the paper and existing implementations onto TorchJD’s aggregator or scalarizer architecture.
  • File-by-File Delivery: Guides creation or editing of source, tests, documentation, changelog, and notices in the expected repository format.
  • Verification and Review: Defines the checks, edge cases, and self-review steps needed before opening a draft pull request.
  • Use Case: A contributor wants to add a new multi-objective optimization method already discussed in research and needs a precise path from investigation to merged code.

Quick Start

Provide the method name and paper title, and I will help implement the TorchJD method end to end following the repository’s conventions.

Frequently Asked Questions about implement-method

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement a new TorchJD aggregator from a research paper?

Implementing a TorchJD aggregator requires recovering the method's exact equations and interface from the tracking issue, then mapping the research onto the repository's architecture before writing source code, tests, and documentation.

How do I add a scalarizer method to TorchJD following repository conventions?

Adding a scalarizer involves recovering method-specific conventions, state, and preconditions, then applying file-by-file delivery to generate source code, tests, documentation, and changelog updates in the expected repository format.

What do I need before implementing multi-objective optimization methods in TorchJD?

Before implementing multi-objective optimization methods, you need the method name, paper title, and tracking-issue details to recover exact equations, state requirements, and interface specifications for the scalarizer or aggregator.

Does implementing TorchJD methods require updating tests and documentation?

Yes, implementing TorchJD methods requires updating tests, documentation, changelog, and notices to ensure the new aggregator or scalarizer meets the repository's review and verification standards.

How do I verify a TorchJD method implementation before opening a draft pull request?

To verify a TorchJD method implementation, define the required checks, edge cases, and self-review steps to ensure the source code, tests, and documentation pass the repository's verification standards before opening a draft pull request.