[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M739QXF9JD6CJFZ1QKGZ9BGY":3,"skill-same:01M739QXF9JD6CJFZ1QKGZ9BGY":59},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":37,"commitSha":38,"skillDirectory":39,"forksCount":40,"repositoryHtmlUrl":41,"repositoryHomepageUrl":6,"ownerHtmlUrl":42,"ownerBlogUrl":43,"ownerDescription":6,"updatedAt":44,"install":45,"resources":58},"01M739QXF9JD6CJFZ1QKGZ9BGY","implement-audit-trail",null,"Implement audit trail functionality for R projects in regulated environments. Covers logging, provenance tracking, electronic signatures, data integrity checks, and 21 CFR Part 11 compliance. Use when an R analysis requires electronic records compliance (21 CFR Part 11), when you need to track who did what and when in an analysis, when implementing data provenance tracking, or when creating tamper-evident analysis logs for regulatory submissions.","roohe\u002Fagentic-super-skills","roohe","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99054084?v=4","01M734WCDFP6RZVT5CNM00QR26","01M734WCE4BD0T4NZS5PCV9V5F",10,"MIT","https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fimplement-audit-trail\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: implement-audit-trail\nlocale: caveman-lite\nsource_locale: en\nsource_commit: 82c77053\ntranslator: \"Julius Brussee homage — caveman\"\ntranslation_date: \"2026-04-24\"\ndescription: >\n  Implement audit trail functionality for R projects in regulated\n  environments. Covers logging, provenance tracking, electronic\n  signatures, data integrity checks, and 21 CFR Part 11 compliance. Use\n  when an R analysis requires electronic records compliance (21 CFR Part 11),\n  when you need to track who did what and when in an analysis, when\n  implementing data provenance tracking, or when creating tamper-evident\n  analysis logs for regulatory submissions.\nlicense: MIT\nallowed-tools: Read Write Edit Bash Grep Glob\nmetadata:\n  author: Philipp Thoss\n  version: \"1.0\"\n  domain: compliance\n  complexity: advanced\n  language: R\n  tags: audit-trail, logging, provenance, 21-cfr-part-11, data-integrity\n---\n\n# Implement Audit Trail\n\nAdd audit trail capabilities to R projects for regulatory compliance.\n\n## When to Use\n\n- R analysis requires electronic records compliance (21 CFR Part 11)\n- Need to track who did what, when, and why in an analysis\n- Implementing data provenance tracking\n- Creating tamper-evident analysis logs\n\n## Inputs\n\n- **Required**: R project with data processing or analysis scripts\n- **Required**: Regulatory requirements (which audit trail elements are mandatory)\n- **Optional**: Existing logging infrastructure\n- **Optional**: Electronic signature requirements\n\n## Procedure\n\n### Step 1: Set Up Structured Logging\n\nCreate `R\u002Faudit_log.R`:\n\n```r\n#' Initialize audit log for a session\n#'\n#' @param log_dir Directory for audit log files\n#' @param analyst Name of the analyst\n#' @return Path to the created log file\ninit_audit_log \u003C- function(log_dir = \"audit_logs\", analyst = Sys.info()[\"user\"]) {\n  dir.create(log_dir, showWarnings = FALSE, recursive = TRUE)\n\n  log_file \u003C- file.path(log_dir, sprintf(\n    \"audit_%s_%s.jsonl\",\n    format(Sys.time(), \"%Y%m%d_%H%M%S\"),\n    analyst\n  ))\n\n  entry \u003C- list(\n    timestamp = format(Sys.time(), \"%Y-%m-%dT%H:%M:%S%z\"),\n    event = \"SESSION_START\",\n    analyst = analyst,\n    r_version = R.version.string,\n    platform = .Platform$OS.type,\n    working_directory = getwd(),\n    session_id = paste0(Sys.getpid(), \"-\", format(Sys.time(), \"%Y%m%d%H%M%S\"))\n  )\n\n  write(jsonlite::toJSON(entry, auto_unbox = TRUE), log_file, append = TRUE)\n  options(audit_log_file = log_file, audit_session_id = entry$session_id)\n\n  log_file\n}\n\n#' Log an audit event\n#'\n#' @param event Event type (DATA_IMPORT, TRANSFORM, ANALYSIS, EXPORT, etc.)\n#' @param description Human-readable description\n#' @param details Named list of additional details\nlog_audit_event \u003C- function(event, description, details = list()) {\n  log_file \u003C- getOption(\"audit_log_file\")\n  if (is.null(log_file)) stop(\"Audit log not initialized. Call init_audit_log() first.\")\n\n  entry \u003C- list(\n    timestamp = format(Sys.time(), \"%Y-%m-%dT%H:%M:%S%z\"),\n    event = event,\n    description = description,\n    session_id = getOption(\"audit_session_id\"),\n    details = details\n  )\n\n  write(jsonlite::toJSON(entry, auto_unbox = TRUE), log_file, append = TRUE)\n}\n```\n\n**Got:** `R\u002Faudit_log.R` created with `init_audit_log()` and `log_audit_event()` functions. Calling `init_audit_log()` creates the `audit_logs\u002F` directory and a timestamped JSONL file. Each log entry is a single JSON line with `timestamp`, `event`, `analyst`, and `session_id` fields.\n\n**If fail:** If `jsonlite::toJSON()` fails, ensure the `jsonlite` package is installed. If the log directory cannot be created, check file system permissions. If timestamps lack timezone, verify `%z` is supported on the platform.\n\n### Step 2: Add Data Integrity Checks\n\n```r\n#' Compute and log data hash for integrity verification\n#'\n#' @param data Data frame to hash\n#' @param label Descriptive label for the dataset\n#' @return SHA-256 hash string\nhash_data \u003C- function(data, label = \"dataset\") {\n  hash_value \u003C- digest::digest(data, algo = \"sha256\")\n\n  log_audit_event(\"DATA_HASH\", sprintf(\"Hash computed for %s\", label), list(\n    hash_algorithm = \"sha256\",\n    hash_value = hash_value,\n    nrow = nrow(data),\n    ncol = ncol(data),\n    columns = names(data)\n  ))\n\n  hash_value\n}\n\n#' Verify data integrity against a recorded hash\n#'\n#' @param data Data frame to verify\n#' @param expected_hash Previously recorded hash\n#' @return Logical indicating whether data matches\nverify_data_integrity \u003C- function(data, expected_hash) {\n  current_hash \u003C- digest::digest(data, algo = \"sha256\")\n  match \u003C- identical(current_hash, expected_hash)\n\n  log_audit_event(\"DATA_VERIFY\",\n    sprintf(\"Data integrity check: %s\", ifelse(match, \"PASS\", \"FAIL\")),\n    list(expected = expected_hash, actual = current_hash))\n\n  if (!match) warning(\"Data integrity check FAILED\")\n  match\n}\n```\n\n**Got:** `hash_data()` returns a SHA-256 hash string and logs a `DATA_HASH` event. `verify_data_integrity()` compares current data against a stored hash and logs a `DATA_VERIFY` event with PASS or FAIL status.\n\n**If fail:** If `digest::digest()` is not found, install the `digest` package. If hashes don't match for identical data, check that column order and data types are consistent between hashing and verification.\n\n### Step 3: Track Data Transformations\n\n```r\n#' Wrap a data transformation with audit logging\n#'\n#' @param data Input data frame\n#' @param transform_fn Function to apply\n#' @param description Description of the transformation\n#' @return Transformed data frame\naudited_transform \u003C- function(data, transform_fn, description) {\n  input_hash \u003C- digest::digest(data, algo = \"sha256\")\n  input_dim \u003C- dim(data)\n\n  result \u003C- transform_fn(data)\n\n  output_hash \u003C- digest::digest(result, algo = \"sha256\")\n  output_dim \u003C- dim(result)\n\n  log_audit_event(\"DATA_TRANSFORM\", description, list(\n    input_hash = input_hash,\n    input_rows = input_dim[1],\n    input_cols = input_dim[2],\n    output_hash = output_hash,\n    output_rows = output_dim[1],\n    output_cols = output_dim[2]\n  ))\n\n  result\n}\n```\n\n**Got:** `audited_transform()` wraps any transformation function, logging input dimensions and hash, output dimensions and hash, and the transformation description as a `DATA_TRANSFORM` event.\n\n**If fail:** If the transform function errors, the audit event is not logged. Wrap the transform in `tryCatch()` to log both successes and failures. Ensure the transform function accepts and returns a data frame.\n\n### Step 4: Log Session Environment\n\n```r\n#' Log complete session information for reproducibility\nlog_session_info \u003C- function() {\n  si \u003C- sessionInfo()\n\n  log_audit_event(\"SESSION_INFO\", \"Complete session environment recorded\", list(\n    r_version = si$R.version$version.string,\n    platform = si$platform,\n    locale = Sys.getlocale(),\n    base_packages = si$basePkgs,\n    attached_packages = sapply(si$otherPkgs, function(p) paste(p$Package, p$Version)),\n    renv_lockfile_hash = if (file.exists(\"renv.lock\")) {\n      digest::digest(file = \"renv.lock\", algo = \"sha256\")\n    } else NA\n  ))\n}\n```\n\n**Got:** A `SESSION_INFO` event logged with R version, platform, locale, attached packages with versions, and the renv lockfile hash (if applicable).\n\n**If fail:** If `sessionInfo()` returns incomplete package information, ensure all packages are loaded via `library()` before calling `log_session_info()`. The renv lockfile hash will be `NA` if the project does not use renv.\n\n### Step 5: Implement in Analysis Scripts\n\n```r\n# 01_analysis.R\nlibrary(jsonlite)\nlibrary(digest)\n\n# Start audit trail\nlog_file \u003C- init_audit_log(analyst = \"Philipp Thoss\")\n\n# Import data with audit\nraw_data \u003C- read.csv(\"data\u002Fraw\u002Fstudy_data.csv\")\nraw_hash \u003C- hash_data(raw_data, \"raw study data\")\n\n# Transform with audit\nclean_data \u003C- audited_transform(raw_data, function(d) {\n  d |>\n    dplyr::filter(!is.na(primary_endpoint)) |>\n    dplyr::mutate(bmi = weight \u002F (height\u002F100)^2)\n}, \"Remove missing endpoints, calculate BMI\")\n\n# Run analysis\nlog_audit_event(\"ANALYSIS_START\", \"Primary efficacy analysis\")\nmodel \u003C- lm(primary_endpoint ~ treatment + age + sex, data = clean_data)\nlog_audit_event(\"ANALYSIS_COMPLETE\", \"Primary efficacy analysis\", list(\n  model_class = class(model),\n  formula = deparse(formula(model)),\n  n_observations = nobs(model)\n))\n\n# Log session\nlog_session_info()\n```\n\n**Got:** Analysis scripts initialize the audit log at the start, log each data import, transformation, and analysis step, and record session info at the end. The JSONL log file captures the complete provenance chain.\n\n**If fail:** If `init_audit_log()` is missing, ensure `R\u002Faudit_log.R` is sourced or the package is loaded. If events are missing from the log, verify that `log_audit_event()` is called after every significant operation.\n\n### Step 6: Git-Based Change Control\n\nComplement the application-level audit trail with git:\n\n```bash\n# Use signed commits for non-repudiation\ngit config commit.gpgsign true\n\n# Descriptive commit messages referencing change control\ngit commit -m \"CHG-042: Add BMI calculation to data processing\n\nPer change request CHG-042, approved by [Name] on [Date].\nValidation impact assessment: Low risk - additional derived variable.\"\n```\n\n**Got:** Git commits are signed (GPG) and use descriptive messages referencing change control IDs. The combination of application-level JSONL audit trail and git history provides a complete change control record.\n\n**If fail:** If GPG signing fails, configure the signing key with `git config --global user.signingkey KEY_ID`. If the key is not set up, follow `gpg --gen-key` to create one.\n\n## Validation\n\n- [ ] Audit log captures all required events (start, data access, transforms, analysis, export)\n- [ ] Timestamps use ISO 8601 format with timezone\n- [ ] Data hashes enable integrity verification\n- [ ] Session information is recorded\n- [ ] Logs are append-only (no deletion or modification)\n- [ ] Analyst identity is captured for each session\n- [ ] Log format is machine-readable (JSONL)\n\n## Pitfalls\n\n- **Logging too much**: Focus on regulated events. Don't log every variable assignment.\n- **Mutable logs**: Audit logs must be append-only. Use JSONL (one JSON object per line).\n- **Missing timestamps**: Every event needs a timestamp with timezone.\n- **No session context**: Each log entry should reference the session for correlation.\n- **Forgetting to initialize**: Scripts must call `init_audit_log()` before any analysis.\n\n## Related Skills\n\n- `setup-gxp-r-project` - project structure for validated environments\n- `write-validation-documentation` - validation protocols and reports\n- `validate-statistical-output` - output verification methodology\n- `configure-git-repository` - version control as part of change control\n","# Implement Audit Trail\n\nAdd audit trail capabilities to R projects for regulatory compliance.\n\n## When to Use\n\n- R analysis requires electronic records compliance (21 CFR Part 11)\n- Need to track who did what, when, and why in an analysis\n- Implementing data provenance tracking\n- Creating tamper-evident analysis logs\n\n## Inputs\n\n- **Required**: R project with data processing or analysis scripts\n- **Required**: Regulatory requirements (which audit trail elements are mandatory)\n- **Optional**: Existing logging infrastructure\n- **Optional**: Electronic signature requirements\n\n## Procedure\n\n### Step 1: Set Up Structured Logging\n\nCreate `R\u002Faudit_log.R`:\n\n```r\n#' Initialize audit log for a session\n#'\n#' @param log_dir Directory for audit log files\n#' @param analyst Name of the analyst\n#' @return Path to the created log file\ninit_audit_log \u003C- function(log_dir = \"audit_logs\", analyst = Sys.info()[\"user\"]) {\n  dir.create(log_dir, showWarnings = FALSE, recursive = TRUE)\n\n  log_file \u003C- file.path(log_dir, sprintf(\n    \"audit_%s_%s.jsonl\",\n    format(Sys.time(), \"%Y%m%d_%H%M%S\"),\n    analyst\n  ))\n\n  entry \u003C- list(\n    timestamp = format(Sys.time(), \"%Y-%m-%dT%H:%M:%S%z\"),\n    event = \"SESSION_START\",\n    analyst = analyst,\n    r_version = R.version.string,\n    platform = .Platform$OS.type,\n    working_directory = getwd(),\n    session_id = paste0(Sys.getpid(), \"-\", format(Sys.time(), \"%Y%m%d%H%M%S\"))\n  )\n\n  write(jsonlite::toJSON(entry, auto_unbox = TRUE), log_file, append = TRUE)\n  options(audit_log_file = log_file, audit_session_id = entry$session_id)\n\n  log_file\n}\n\n#' Log an audit event\n#'\n#' @param event Event type (DATA_IMPORT, TRANSFORM, ANALYSIS, EXPORT, etc.)\n#' @param description Human-readable description\n#' @param details Named list of additional details\nlog_audit_event \u003C- function(event, description, details = list()) {\n  log_file \u003C- getOption(\"audit_log_file\")\n  if (is.null(log_file)) stop(\"Audit log not initialized. Call init_audit_log() first.\")\n\n  entry \u003C- list(\n    timestamp = format(Sys.time(), \"%Y-%m-%dT%H:%M:%S%z\"),\n    event = event,\n    description = description,\n    session_id = getOption(\"audit_session_id\"),\n    details = details\n  )\n\n  write(jsonlite::toJSON(entry, auto_unbox = TRUE), log_file, append = TRUE)\n}\n```\n\n**Got:** `R\u002Faudit_log.R` created with `init_audit_log()` and `log_audit_event()` functions. Calling `init_audit_log()` creates the `audit_logs\u002F` directory and a timestamped JSONL file. Each log entry is a single JSON line with `timestamp`, `event`, `analyst`, and `session_id` fields.\n\n**If fail:** If `jsonlite::toJSON()` fails, ensure the `jsonlite` package is installed. If the log directory cannot be created, check file system permissions. If timestamps lack timezone, verify `%z` is supported on the platform.\n\n### Step 2: Add Data Integrity Checks\n\n```r\n#' Compute and log data hash for integrity verification\n#'\n#' @param data Data frame to hash\n#' @param label Descriptive label for the dataset\n#' @return SHA-256 hash string\nhash_data \u003C- function(data, label = \"dataset\") {\n  hash_value \u003C- digest::digest(data, algo = \"sha256\")\n\n  log_audit_event(\"DATA_HASH\", sprintf(\"Hash computed for %s\", label), list(\n    hash_algorithm = \"sha256\",\n    hash_value = hash_value,\n    nrow = nrow(data),\n    ncol = ncol(data),\n    columns = names(data)\n  ))\n\n  hash_value\n}\n\n#' Verify data integrity against a recorded hash\n#'\n#' @param data Data frame to verify\n#' @param expected_hash Previously recorded hash\n#' @return Logical indicating whether data matches\nverify_data_integrity \u003C- function(data, expected_hash) {\n  current_hash \u003C- digest::digest(data, algo = \"sha256\")\n  match \u003C- identical(current_hash, expected_hash)\n\n  log_audit_event(\"DATA_VERIFY\",\n    sprintf(\"Data integrity check: %s\", ifelse(match, \"PASS\", \"FAIL\")),\n    list(expected = expected_hash, actual = current_hash))\n\n  if (!match) warning(\"Data integrity check FAILED\")\n  match\n}\n```\n\n**Got:** `hash_data()` returns a SHA-256 hash string and logs a `DATA_HASH` event. `verify_data_integrity()` compares current data against a stored hash and logs a `DATA_VERIFY` event with PASS or FAIL status.\n\n**If fail:** If `digest::digest()` is not found, install the `digest` package. If hashes don't match for identical data, check that column order and data types are consistent between hashing and verification.\n\n### Step 3: Track Data Transformations\n\n```r\n#' Wrap a data transformation with audit logging\n#'\n#' @param data Input data frame\n#' @param transform_fn Function to apply\n#' @param description Description of the transformation\n#' @return Transformed data frame\naudited_transform \u003C- function(data, transform_fn, description) {\n  input_hash \u003C- digest::digest(data, algo = \"sha256\")\n  input_dim \u003C- dim(data)\n\n  result \u003C- transform_fn(data)\n\n  output_hash \u003C- digest::digest(result, algo = \"sha256\")\n  output_dim \u003C- dim(result)\n\n  log_audit_event(\"DATA_TRANSFORM\", description, list(\n    input_hash = input_hash,\n    input_rows = input_dim[1],\n    input_cols = input_dim[2],\n    output_hash = output_hash,\n    output_rows = output_dim[1],\n    output_cols = output_dim[2]\n  ))\n\n  result\n}\n```\n\n**Got:** `audited_transform()` wraps any transformation function, logging input dimensions and hash, output dimensions and hash, and the transformation description as a `DATA_TRANSFORM` event.\n\n**If fail:** If the transform function errors, the audit event is not logged. Wrap the transform in `tryCatch()` to log both successes and failures. Ensure the transform function accepts and returns a data frame.\n\n### Step 4: Log Session Environment\n\n```r\n#' Log complete session information for reproducibility\nlog_session_info \u003C- function() {\n  si \u003C- sessionInfo()\n\n  log_audit_event(\"SESSION_INFO\", \"Complete session environment recorded\", list(\n    r_version = si$R.version$version.string,\n    platform = si$platform,\n    locale = Sys.getlocale(),\n    base_packages = si$basePkgs,\n    attached_packages = sapply(si$otherPkgs, function(p) paste(p$Package, p$Version)),\n    renv_lockfile_hash = if (file.exists(\"renv.lock\")) {\n      digest::digest(file = \"renv.lock\", algo = \"sha256\")\n    } else NA\n  ))\n}\n```\n\n**Got:** A `SESSION_INFO` event logged with R version, platform, locale, attached packages with versions, and the renv lockfile hash (if applicable).\n\n**If fail:** If `sessionInfo()` returns incomplete package information, ensure all packages are loaded via `library()` before calling `log_session_info()`. The renv lockfile hash will be `NA` if the project does not use renv.\n\n### Step 5: Implement in Analysis Scripts\n\n```r\n# 01_analysis.R\nlibrary(jsonlite)\nlibrary(digest)\n\n# Start audit trail\nlog_file \u003C- init_audit_log(analyst = \"Philipp Thoss\")\n\n# Import data with audit\nraw_data \u003C- read.csv(\"data\u002Fraw\u002Fstudy_data.csv\")\nraw_hash \u003C- hash_data(raw_data, \"raw study data\")\n\n# Transform with audit\nclean_data \u003C- audited_transform(raw_data, function(d) {\n  d |>\n    dplyr::filter(!is.na(primary_endpoint)) |>\n    dplyr::mutate(bmi = weight \u002F (height\u002F100)^2)\n}, \"Remove missing endpoints, calculate BMI\")\n\n# Run analysis\nlog_audit_event(\"ANALYSIS_START\", \"Primary efficacy analysis\")\nmodel \u003C- lm(primary_endpoint ~ treatment + age + sex, data = clean_data)\nlog_audit_event(\"ANALYSIS_COMPLETE\", \"Primary efficacy analysis\", list(\n  model_class = class(model),\n  formula = deparse(formula(model)),\n  n_observations = nobs(model)\n))\n\n# Log session\nlog_session_info()\n```\n\n**Got:** Analysis scripts initialize the audit log at the start, log each data import, transformation, and analysis step, and record session info at the end. The JSONL log file captures the complete provenance chain.\n\n**If fail:** If `init_audit_log()` is missing, ensure `R\u002Faudit_log.R` is sourced or the package is loaded. If events are missing from the log, verify that `log_audit_event()` is called after every significant operation.\n\n### Step 6: Git-Based Change Control\n\nComplement the application-level audit trail with git:\n\n```bash\n# Use signed commits for non-repudiation\ngit config commit.gpgsign true\n\n# Descriptive commit messages referencing change control\ngit commit -m \"CHG-042: Add BMI calculation to data processing\n\nPer change request CHG-042, approved by [Name] on [Date].\nValidation impact assessment: Low risk - additional derived variable.\"\n```\n\n**Got:** Git commits are signed (GPG) and use descriptive messages referencing change control IDs. The combination of application-level JSONL audit trail and git history provides a complete change control record.\n\n**If fail:** If GPG signing fails, configure the signing key with `git config --global user.signingkey KEY_ID`. If the key is not set up, follow `gpg --gen-key` to create one.\n\n## Validation\n\n- [ ] Audit log captures all required events (start, data access, transforms, analysis, export)\n- [ ] Timestamps use ISO 8601 format with timezone\n- [ ] Data hashes enable integrity verification\n- [ ] Session information is recorded\n- [ ] Logs are append-only (no deletion or modification)\n- [ ] Analyst identity is captured for each session\n- [ ] Log format is machine-readable (JSONL)\n\n## Pitfalls\n\n- **Logging too much**: Focus on regulated events. Don't log every variable assignment.\n- **Mutable logs**: Audit logs must be append-only. Use JSONL (one JSON object per line).\n- **Missing timestamps**: Every event needs a timestamp with timezone.\n- **No session context**: Each log entry should reference the session for correlation.\n- **Forgetting to initialize**: Scripts must call `init_audit_log()` before any analysis.\n\n## Related Skills\n\n- `setup-gxp-r-project` - project structure for validated environments\n- `write-validation-documentation` - validation protocols and reports\n- `validate-statistical-output` - output verification methodology\n- `configure-git-repository` - version control as part of change control\n",{"name":5,"locale":23,"license":14,"metadata":24,"translator":31,"description":32,"allowed-tools":33,"source_commit":34,"source_locale":35,"translation_date":36},"caveman-lite",{"tags":25,"author":26,"domain":27,"version":28,"language":29,"complexity":30},"audit-trail, logging, provenance, 21-cfr-part-11, data-integrity","Philipp Thoss","compliance","1.0","R","advanced","Julius Brussee homage — caveman","Implement audit trail functionality for R projects in regulated environments. Covers logging, provenance tracking, electronic signatures, data integrity checks, and 21 CFR Part 11 compliance. Use when an R analysis requires electronic records compliance (21 CFR Part 11), when you need to track who did what and when in an analysis, when implementing data provenance tracking, or when creating tamper-evident analysis logs for regulatory submissions.\n","Read Write Edit Bash Grep Glob","82c77053","en","2026-04-24","master","f483e54f3ad5f202a77d45f2e57f8d970b71195f","skills_library\u002Fimplement-audit-trail",2,"https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills","https:\u002F\u002Fgithub.com\u002Froohe","yoou.link","2026-05-19 15:56:07",{"source":8,"skillName":5,"commands":46,"prompt":56,"zipAvailable":57},[47,50,53],{"tool":48,"command":49},"npx","npx skills add roohe\u002Fagentic-super-skills --skill implement-audit-trail",{"tool":51,"command":52},"bunx","bunx skills add roohe\u002Fagentic-super-skills --skill implement-audit-trail",{"tool":54,"command":55},"pnpm","pnpm dlx skills add roohe\u002Fagentic-super-skills --skill implement-audit-trail","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fimplement-audit-trail\u002FSKILL.md",true,[],[60,67,74,81,88,95],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":18},"01M73D865CZME2FCMKA4PQM348","zarr-python","Chunked N-D arrays for cloud storage. Compressed arrays, parallel I\u002FO, S3\u002FGCS integration, NumPy\u002FDask\u002FXarray compatible, for large-scale scientific computing pipelines.","https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fzarr-python\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"01M73D7Z64J4ABWZJD7P44XBBF","youtube-downloader","Download and process YouTube content for research. Use when: downloading competitor videos for analysis; extracting audio for podcasts; getting transcripts for content repurposing; archiving webinars; research content curation","https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fyoutube-downloader\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":18},"01M73D7K8778TGZV3GJFR3703D","yc-pitch-deck","Create a compelling startup pitch deck that follows the structure proven to raise billions from top investors. Master the YC and Sequoia formats that get founders funded. Use when: **Fundraising** to create investor pitch decks; **YC application** to structure your narrative; **Demo Day prep** to craft your 2-minute pitch; **Angel investors** to communicate your opportunity; **Partnership pitches** to structure compelling asks","https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fyc-pitch-deck\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":18},"01M73D70KJSE0E8Z28YMNNRT04","x-twitter-scraper","Use when the user needs X (Twitter) data or confirmation-gated X actions through Xquik: tweet search, user lookup, follower extraction, media download, monitoring, webhooks, MCP, SDKs, posting, likes, DMs, and profile updates. Requires a Xquik API key. Never ask for X login material.","https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fx-twitter-scraper\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":18},"01M73D6ED01GV077R7K4NZNFZJ","write-vignette","Create R package vignettes using R Markdown or Quarto. Covers vignette setup, YAML configuration, code chunk options, building and testing, and CRAN requirements for vignettes. Use when adding a Getting Started tutorial, documenting complex workflows spanning multiple functions, creating domain-specific guides, or when CRAN submission requires user-facing documentation beyond function help pages.","https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fwrite-vignette\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":18},"01M73D69YJR0BK3NFHE0CYG3EF","write-validation-documentation","Write IQ\u002FOQ\u002FPQ validation documentation for computerized systems in regulated environments. Covers protocols, reports, test scripts, deviation handling, and approval workflows. Use when validating R or other software for regulated use, preparing for a regulatory audit, documenting qualification of computing environments, or creating and updating validation protocols and reports for new or re-qualified systems.","https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fwrite-validation-documentation\u002FSKILL.md",[],[]]