tuya/tuyaopen-ide-manifests/spi

Claude Code and agent skill by tuya/tuyaopen-ide-manifests

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

TuyaOS SPI master via tkl_spi: init, send, deinit. SPI、主机、tkl_spi、总线发送。

Install

npx vskill@latest install tuya/tuyaopen-ide-manifests/spi

SKILL.md

TuyaOS SPI (tkl_spi)

Demo: …/examples/driver_spi/example_driver_spi.c

Pattern

c
#include "tkl_spi.h"
#include "tal_log.h"
#define SPI_ID 0
void app_spi_send(const uint8_t *buf, uint32_t len)
{
TUYA_SPI_BASE_CFG_T spi_cfg = {0};
/* role/mode/freq/bitwidth — from demo */
if (tkl_spi_init(SPI_ID, &spi_cfg) != OPRT_OK) {
TAL_PR_ERR("spi init fail");
return;
}
tkl_spi_send(SPI_ID, (uint8_t *)buf, len);
tkl_spi_deinit(SPI_ID);
}

API

FunctionRole
tkl_spi_initopen master
tkl_spi_sendTX
tkl_spi_deinitclose

Confirm CS/SCLK/MOSI/MISO pins and SPI id with the user. Full-duplex transfer may exist on some platforms — check vendor headers if needed.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/tuya/tuyaopen-ide-manifests/spi/badge)](https://verified-skill.com/skills/tuya/tuyaopen-ide-manifests/spi)

Something wrong with this skill or its page? Tell us.