본문으로 건너뛰기
cccskills
무료GitHub에 공개

talos-action-development

Develop, modify, review, and maintain standalone Talos actions in contracts/tasks/actions, including chain guardrails, contract bindings, transaction safety, schedules, action catalogues, and Talos documentation. Use when adding an action, changing an action’s behavior or parameters, updating a Talos schedule, or maintaining action runtime support.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

OriginProtocol/origin-dollar스타 154(GitHub 154 + cccskills 0)

실행 점수 미검증

설치 방법 보기

포함된 파일(40)

  • SKILL.md3.5 KB
  • autoValidatorDeposits.ts673 B
  • autoValidatorWithdrawals.ts787 B
  • bridgeBaseFees.ts8.3 KB
  • claimBribes.ts2.6 KB
  • cowHarvest.ts4.5 KB
  • crossChainBalanceUpdateBase.ts1.3 KB
  • crossChainBalanceUpdateHyperevm.ts1.3 KB
  • crossChainRelay.ts2.4 KB
  • crossChainRelayHyperEVM.ts2.4 KB
  • executeGovernorSixProposal.ts1.2 KB
  • feeSplitterDistribute.ts2.5 KB
  • harvest.ts361 B
  • healthcheck.ts721 B
  • manageBribes.ts1.1 KB
  • manageMerklBribes.ts847 B
  • managePassThrough.ts297 B
  • ognClaimAndForwardRewards.ts926 B
  • otokenAddWithdrawalQueueLiquidity.ts3.3 KB
  • otokenOethbHarvest.ts1.2 KB
  • otokenOethbRebase.ts940 B
  • otokenOethbUpdateWoethPrice.ts625 B
  • otokenOethRebase.ts1.3 KB
  • otokenOusdAutoWithdrawal.ts712 B
  • otokenOusdRebase.ts1.4 KB
  • ousdRebalancer.ts5.1 KB
  • ousdSusdeV4Rebalance.ts16.5 KB
  • ousdUsdeV4Rebalance.ts24.8 KB
  • ousdV4Rebalance.ts21.8 KB
  • proposeVaultStrategyMoves.ts8.6 KB
  • queueGovernorSixProposal.ts1.2 KB
  • relayCCTPMessage.ts2.9 KB
  • restartSquid.ts2.7 KB
  • setXOGNRewardRate.ts10.5 KB
  • snapBalances.ts285 B
  • stakeValidator.ts999 B
  • updateVotemarketEpochs.ts568 B
  • verifyBalances.ts1.4 KB
  • verifyDeposits.ts514 B
  • withdrawValidator.ts725 B

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Talos Action Development and Maintenance

Runtime Model

  • Author actions in tasks/actions/<actionName>.ts with the action({...}) wrapper from tasks/lib/action.ts.
  • Actions self-register and run through tasks/run.ts; do not register ops tasks.
  • Run an action locally with pnpm exec tsx tasks/run.ts <actionName> --network <network>. Treat a transaction-writing invocation as production-affecting.
  • Production schedules are defined in migrations/seed_schedules.sql; the Talos runner loads the generated catalogue from actions-catalog.json.

Implement an Action

  1. Match the filename and name with camelCase, and provide a clear description and explicit chains guardrail.
  2. Define every CLI parameter with the params builder and keep names camelCase. The generated catalogue converts names to kebab-case flags.
  3. Use the context's signer, chainId, networkName, log, and args. Initialise no independent provider or signer unless the action genuinely requires it.
  4. Prefer getContract("DeploymentName") from tasks/lib/contracts for a direct committed deployment binding. For a proxy or interface call, use getContractAt() with a curated interface ABI or instantiate ethers.Contract with a narrow inline ABI.
  5. Treat committed deployment artifacts, utils/addresses.js, and action-local chain maps as address sources. artifacts/ and Foundry build/deployments-<chainId>.json are not Talos runtime inputs.
  6. Use named ethers contract methods and logTxDetails for write transactions. Avoid raw selector encoding and signer.sendTransaction({ to, data }) when the method is known.
  7. Validate chain-specific addresses, deployment availability, and signer authority before a transaction. For Safe proposals, preserve simulation, nonce, and delegate checks.

Maintain Existing Actions

  • Keep proxy ABI selection deliberate: a deployment artifact supplies an address, but its ABI may not expose an implementation method. Prefer curated abi/*.json interfaces for stable proxy calls.
  • When a Foundry deployment changes an action target, update the corresponding deployment descriptor address or pinned action address in the same change.
  • Preserve idempotency and useful action-specific logging. Do not turn a manual-only or proposal action into an enabled schedule without explicit authorization.
  • Avoid co-scheduling two transaction-writing actions for the same signer in a five-minute window; check migrations/seed_schedules.sql.

Update Supporting Records

  • Update docs/ACTIONS.md when a scheduled action or its operational behavior changes.

  • Regenerate docs/talos-actions-inventory.md after action entry-point or local-import changes:

    node scripts/talos/action-chains.mjs > docs/talos-actions-inventory.md
    
  • Rebuild the runtime catalogue when validating the action image:

    pnpm run dump-catalog
    

Verify

pnpm prettier:ts
pnpm typecheck

Run the smallest safe action-level validation available. Only invoke an action against a live network when the requested work authorizes its side effects.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

commit

무료

Handle git commits with auto-staging, targeted pre-commit formatting, and Conventional Commit messages. Use when the user says commit it, commit this, commit changes, save my changes, or similar git commit requests.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

OriginProtocol/origin-dollar1542026년 10월 26일 업데이트

fork-test

무료

Generate Foundry fork tests for contracts that need real on-chain integration coverage. Use when the user asks for fork tests, mainnet or chain fork coverage, or integration tests against live protocol state.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

OriginProtocol/origin-dollar1542026년 10월 26일 업데이트

Reorganize Foundry test files (*.t.sol) for readability and consistency without changing semantics. Use when the user asks to organize, reorder, clean up, tidy, or reformat a test file's structure.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

OriginProtocol/origin-dollar1542026년 10월 26일 업데이트

Generate Foundry smoke tests that validate deployment health using DeployManager/Resolver against real on-chain state with pending governance applied. Use when the user asks for smoke tests, deployment verification tests, or post-deploy health checks.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

OriginProtocol/origin-dollar1542026년 10월 26일 업데이트

unit-test

무료

Generate Foundry unit tests for a contract using this repository's conventions, structure, and naming. Use when the user asks for unit tests, Foundry tests, concrete tests, or fuzz tests.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

OriginProtocol/origin-dollar1542026년 10월 26일 업데이트

Verifies a POST-EXECUTION mainnet (or other network) smart-contract deployment PR for this repo: confirms every deployed contract is listed in the PR description, that the on-chain verified source (and its dependencies) matches the codebase via `sol2uml diff`, that constructor args and the initialize tx match the Foundry script, and that the on-chain governance proposal matches the script's actions. Use when asked to review, verify, audit, or sign off on an executed deployment PR. Invoke explicitly with /verify-deployment-pr <PR#>.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

OriginProtocol/origin-dollar1542026년 10월 26일 업데이트

OriginProtocol의 스킬 모두 보기

이 스킬의 문제 신고