← all publishers

lfortran

@lfortran source repo

5 published skills

  1. Fix Mre · lfortran
    Fix an LFortran bug given an MRE (Minimal Reproducible Example) produced by the create-mre skill. Reproduces the bug, diagnoses which compiler phase is at fault, fixes it in the LFortran source, adds an integration test, and runs the integration and reference test suites. Triggers: fix MRE, fix bug, fix lfortran, fix reproducer, implement, resolve, patch, bugfix.
    0
    installs
  2. Fix Issue · lfortran
    End-to-end fix of an LFortran bug, from issue to review-ready pull request. Takes an issue (most commonly a GitHub issue number or URL at lfortran/lfortran, but also a pasted snippet, error report, or third-party failure), then orchestrates fresh subagents that run repro-issue, then create-mre and fix-mre repeatedly (one MRE per underlying bug) until the original issue is fully fixed, open a draft PR from the user's fork with `gh`, review it with pr-review, and keep fixing CI failures and review blockers until the PR is green and clean, then add the Tests::Run-Exhaustive label, fix any exhaustive CI failures, and mark it ready for review. Unrelated pre-existing bugs found along the way are filed as separate issues and linked from the PR. Triggers: fix issue, fix github issue, issue to PR, resolve issue, send PR for issue, end-to-end fix.
    0
    installs
  3. Pr Review · lfortran bundle
    Review LFortran pull requests and code diffs using the project's architecture and established review rules. Use this skill whenever asked to review a PR, assess a patch, judge PR readiness, inspect an LLVM/codegen change, or suggest where an LFortran compiler fix belongs. Push decisions as early as practical into AST-to-ASR, explicit ASR state and verification, or a focused ASR pass; keep backends small and mechanical. Covers correctness, reuse, tests, scope, and maintainability with concrete good and bad implementation patterns.
    0
    installs
  4. Create Mre · lfortran
    Create a Minimal Reproducible Example (MRE) from a third-party Fortran code failure in LFortran. Use this skill when third-party code fails to build or run with LFortran but works with other Fortran compilers (e.g. GFortran, Flang). Produces standalone .f90 file(s) and a run.sh script that reproduces the bug. Triggers: MRE, minimal reproducible example, reduce, reproduce, reproducer, third-party failure, compilation error, runtime failure, bug reduction, jupyterlite, browser lab, notebook cell.
    0
    installs
  5. Repro Issue · lfortran
    Create a Reproducible Example (RE) from a GitHub issue filed against lfortran/lfortran. Fetches the issue, extracts the Fortran code as-posted, minimally extends it if necessary so it can be compiled and run, and produces a standalone .f90 file (or files) plus a run_re.sh script that reproduces the bug with `lfortran` and shows that the same program compiles/runs with a reference compiler. The output is intentionally as close to the issue's original code as possible — reduction/minimization is the job of the create-mre skill, which consumes this skill's output. Triggers: repro issue, reproduce issue, RE, reproducible example, github issue, lfortran issue, issue reproducer.
    0
    installs