dyz-gongwen-skills
公文写作 Skills|AI 公文写作助手:防编造、守保密、GB/T 9704 一键排版,覆盖 22 种文书,支持 Claude Code / Codex / Cursor
翻訳待ち
リポジトリ情報はまだ収集していません。
No updates detected yet. GitHub releases will appear here.
Team-wide skills for coding agents that build on each other. Open source, MCP, MIT.
翻訳待ち
Loading the full README.
Read the full README ↗Team-wide skills that build on each other. Lattice turns the methods your team approves into shared skills for coding agents. Each skill can pin the approved skills beneath it at exact versions, so every agent on the team starts from everyone's best work.
Works with Codex, Claude Code, Cursor, and any client that speaks remote MCP (Streamable HTTP). MIT licensed.
Live: https://lattice-team-ai.vercel.app · Demo (no account): https://lattice-team-ai.vercel.app/demo
See SKILL-ARCHITECTURE.md for the full skill contract, progressive loading, and permission semantics.
/install: a copyable prompt that connects the current agent and adds Lattice guidance to AGENTS.md, CLAUDE.md, or a Cursor rule./demo with sample data, isolated from real accounts.The agent writes a method from its task context. Lattice does not run a background model or record sessions. Inline approval-card rendering is up to each agent host.
Requires Node.js 20+.
git clone https://github.com/VedSoni-dev/lattice
cd lattice
npm ci
npm run build
npm test
npm run dev # http://localhost:4174 — landing page and /demo work without a database
Lattice deploys to Vercel with Postgres and email-code sign-in on Neon (Neon Auth).
.env.example to .env.local and set DATABASE_URL, NEON_AUTH_BASE_URL, APP_ORIGIN, and a random server-only OAUTH_CLIENT_SECRET. Set EMAIL_AUTH_READY=true to switch the landing page's calls to action to sign-up.node scripts/migrate-neon.mjs, then node scripts/migrate-skill-trees.mjs. The first refuses to overwrite an existing schema.NEON_AUTH_ENDPOINT_ID=... node scripts/configure-neon.mjs to add your origin to Neon Auth's trusted origins.vercel --prod.Account cookies are HTTPS-only, so test real sign-in against an HTTPS origin. Neon's shared email sender is rate-limited and meant for development; set up a dedicated sender before a broad launch (Neon's checklist).
Security model: workspace identity always comes from a live provider session inside the same transaction as the action. No API accepts a caller-chosen identity or arbitrary SQL. Private tables are not directly accessible; bounded functions enforce author and team permissions. Never expose database URLs, session tokens, or server secrets to the browser.
To point the Codex setup kit at your deployment: LATTICE_URL=https://your-host node codex-setup/install.mjs.
npm test runs the automated suite against an in-process Postgres (PGlite): team/invite/skill authorization, version pinning and reference cycles, MCP composition and nonce privacy, OAuth/PKCE replay and rotation, hook privacy, cookie attributes, CSRF, and install-prompt routing.
tests/live-neon-smoke.mjs and tests/live-mcp-smoke.mjs run against a real deployment and are invoked by hand. They create and remove only their own generated fixtures.
The landing page dithers its scenes live in WebGL (an 8×8 Bayer matrix, three inks). The GIFs and video in media/ are rendered from code with no external assets:
node scripts/make-media.mjs # needs ffmpeg