agentleFS
orlando-vazquez-careerorlando-vazquez-career/astra-protocol/skills/astra-build/SKILL.md

astra-build

Skill2 starsChanged 2 months agoMITView on GitHub

Fase 3 de ASTRA (Construccion). Implementa lo que dice la Carta aprobada con el toolchain nativo de la cadena (Stellar CLI + cargo para Soroban; Foundry o Hardhat para EVM), con tests unitarios y de propiedad verdes y sin claves en el codigo. Usar cuando el usuario dice "construir", "implementar el contrato", "escribir el token", "codear la dApp" con una Carta ya aprobada.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    No desplegar en mainnet ni preparar nada de mainnet en esta fase (A1, A3).

    line 26
  2. Very specific:

    No leer, pedir ni imprimir claves (A2).

    line 27
  3. Distinctive:

    No inventar estándares parciales: si la Carta dice "SEP-0041 completo", es completo.

    line 28

≈ “Common” is an estimate: at least 1 in 5 of the 372,429 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

astra-build — Fase 3: Construcción

Cuándo

Solo con docs/astra/chart.md que tenga aprobada: YYYY-MM-DD. Si no la tiene, la respuesta es "falta el Gate 1" (skill astra-chart).

Pasos

  1. Lee la Carta completa y guides/chains/<familia>.md. Confirma astra doctor --chain <id> en SAFE.
  2. Esqueleto con el toolchain nativo:
    • Soroban: stellar contract init o cargo new --lib; soroban-sdk fijado; stellar contract build.
    • EVM: forge init (o Hardhat); versión de Solidity fijada; forge build.
  3. Implementa función por función siguiendo la tabla de interfaz de la Carta: control de acceso (require_auth / modifier) en cada función que cambia estado; errores distinguibles; eventos por cada cambio relevante.
  4. Tests unitarios por función y por camino de error (cargo test, forge test). Tests de propiedad o fuzz sobre cada invariante de la Carta (forge test --fuzz-runs 1000, cargo fuzz o proptest).
  5. Cuentas y claves de prueba generadas en runtime por el framework de tests; nada de claves en fixtures. astra check sin errores.
  6. Si te desvías de la Carta, anótalo en su sección "Cambios durante la construcción" en el mismo commit. Commits con prefijo astra:.
  7. Cuando todo está verde, sigue con astra-testnet.

No hacer

  • No desplegar en mainnet ni preparar nada de mainnet en esta fase (A1, A3).
  • No leer, pedir ni imprimir claves (A2). Si una herramienta exige --private-key, no se usa.
  • No inventar estándares parciales: si la Carta dice "SEP-0041 completo", es completo.

Done

Build y tests locales verdes (unitarios + propiedad), astra check OK, Carta al día con los cambios.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.