Diagnosis of chikungunya is primarily based on the patient's clinical symptoms and their history of exposure to mosquito bites in endemic areas. Laboratory tests can confirm the diagnosis through methods such as reverse transcription-polymerase chain reaction (RT-PCR), serological tests like enzyme-linked immunosorbent assay (ELISA), and viral culture.