r-code-generation

Generate production-ready R code for meta-analysis using the metafor package.

1|Updated Dec 29, 2025
One-click install
npx skills add https://github.com/matheus-rech/meta-agent-mobile --skill r-code-generation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: r-code-generation
Source: https://github.com/matheus-rech/meta-agent-mobile/tree/main/agentskills/r-code-generation
Command: npx skills add https://github.com/matheus-rech/meta-agent-mobile --skill r-code-generation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automates the generation of production-ready R code for meta-analysis, reducing manual coding time and errors.

Core Features & Use Cases

  • End-to-end code generation: Produces data preparation, model fitting, visualization, and sensitivity analysis templates using metafor.
  • Workflow automation: Helps analysts generate reproducible R scripts for common meta-analysis workflows.
  • Use Case: When you need a ready-to-run R script to perform a meta-analysis with forest plots and publication-quality output.

Quick Start

Provide a ready-to-run R meta-analysis script using metafor with your data.

Frequently Asked Questions about r-code-generation

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

FAQPage Schema
How do I generate R code for meta-analysis using metafor?

To generate R meta-analysis code, provide your data and the skill produces ready-to-run scripts using the metafor package covering data preparation, effect-size calculation, model fitting, visualization, and sensitivity analyses.

What's the best way to create reproducible meta-analysis workflows in R?

The best way to create reproducible meta-analysis workflows in R is generating production-ready templates that automate data preparation, model fitting, and visualization, reducing manual coding time and errors.

Can I use this to generate forest plots and publication-quality output in R?

Yes, you can generate forest plots and publication-quality output in R. The skill produces ready-to-run scripts that handle visualization tasks for meta-analytic results using the metafor package.

Does this skill support sensitivity analyses for meta-analysis in R?

Yes, sensitivity analyses for meta-analysis in R are supported. The generated code includes templates for sensitivity tasks alongside data preparation, effect-size calculation, and model fitting using metafor.

Do I need to manually write effect-size calculation code for metafor?

No, you do not need to manually write effect-size calculation code for metafor. The skill automates end-to-end code generation, producing templates that calculate effect sizes and fit models directly.