Skip to content

seo-skills/seo-audit-skill

seo-audit

Verified

Run the SEOmator CLI on a site and score it against 398 rules across 20 categories (SEO, technical, content, security, JS rendering, AI readiness), with reports an LLM can act on. It can also diff two audits to show what a deploy changed. Reach for it to find out why a site underperforms in search, to review a site's health, or to check a release before and after.

scripts/resign-native.mjs

View on GitHub
#!/usr/bin/env node
/**
 * Re-sign rebuilt native modules ad-hoc, on macOS.
 *
 * `electron-rebuild` swaps `better_sqlite3.node` for a build matching Electron's
 * ABI. On Apple Silicon the artifact it restores carries a signature the kernel
 * refuses at load time, even though `codesign -v` reports it "valid on disk"
 * and "satisfies its Designated Requirement". The Electron main process then
 * dies during `dlopen` in `CrBrowserMain`:
 *
 *     Exception:   EXC_BAD_ACCESS, SIGKILL (Code Signature Invalid)
 *     Termination: CODESIGNING, code 2, "Invalid Page"
 *
 * The app never draws a window, and the crash report is the only evidence. That
 * is why the desktop app went untested across four sessions: `npm run
 * electron:dev` looked like it did nothing.
 *
 * `codesign --force --sign -` regenerates the ad-hoc signature and the module
 * loads. Re-signing an already-good binary is harmless, so this runs after every
 * rebuild rather than trying to detect the bad case.
 *
 * No-op off macOS, where none of this applies.
 */
import { execFileSync } from 'node:child_process';
import { existsSync } from 'node:fs';

/** Native modules this project rebuilds between the Node and Electron ABIs. */
const TARGETS = ['node_modules/better-sqlite3/build/Release/better_sqlite3.node'];

if (process.platform !== 'darwin') {
  console.log('resign-native: not macOS, nothing to do.');
  process.exit(0);
}

let signed = 0;
for (const target of TARGETS) {
  if (!existsSync(target)) {
    console.log(`resign-native: ${target} not built, skipping.`);
    continue;
  }
  try {
    execFileSync('codesign', ['--force', '--sign', '-', target], { stdio: 'pipe' });
    console.log(`resign-native: re-signed ${target}`);
    signed++;
  } catch (error) {
    // Not fatal: a machine without the codesign tool can still run the CLI,
    // and only the Electron path needs this.
    const message = error instanceof Error ? error.message : String(error);
    console.warn(`resign-native: could not sign ${target} — ${message.split('\n')[0]}`);
  }
}

console.log(`resign-native: ${signed} module(s) signed.`);
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall