Skip to content

AElfProject/aelf-skills

aelf-skills-hub

Verified

Discovery, download, and configuration hub for the entire aelf agent skill ecosystem. Use when the user wants to: (1) explore or list available aelf skills, (2) install/bootstrap aelf skills into Cursor, Claude Desktop, OpenClaw, Codex, or Claude Code, (3) route an aelf-related intent to the correct skill, (4) check health or audit installed skills, (5) onboard a new skill into the aelf ecosystem. Covers domains: Portkey CA wallet, Portkey EOA wallet, Awaken DEX, eForest NFT marketplace, AelfScan explorer, TomorrowDAO governance, aelf node interaction.

scripts/check-readme-sync.ts

View on GitHub
import path from 'node:path';
import { existsSync, readFileSync } from 'node:fs';
import type { SkillsCatalog } from './lib/types.ts';
import { readJsonFile } from './lib/utils.ts';

const EN_PATH = path.join(process.cwd(), 'README.md');
const ZH_PATH = path.join(process.cwd(), 'README.zh-CN.md');
const CATALOG_PATH = path.join(process.cwd(), 'skills-catalog.json');

function ensureContains(readmePath: string, catalog: SkillsCatalog): string[] {
  if (!existsSync(readmePath)) return [`${readmePath} not found`];
  const content = readFileSync(readmePath, 'utf8');
  const missing: string[] = [];

  for (const skill of catalog.skills) {
    if (!content.includes(`| ${skill.id} |`)) {
      missing.push(`${readmePath}: missing table row for ${skill.id}`);
    }
  }

  return missing;
}

function main(): void {
  if (!existsSync(CATALOG_PATH)) {
    console.error('[ERROR] skills-catalog.json not found. Run `bun run catalog:generate` first.');
    process.exit(1);
  }

  const catalog = readJsonFile<SkillsCatalog>(CATALOG_PATH);
  const issues = [...ensureContains(EN_PATH, catalog), ...ensureContains(ZH_PATH, catalog)];

  if (issues.length > 0) {
    console.error('[ERROR] README/catalog consistency check failed:');
    for (const issue of issues) {
      console.error(`  - ${issue}`);
    }
    process.exit(1);
  }

  console.log('[OK] README files are in sync with skills-catalog.json');
}

main();
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